Exceptions during setUp of a C++ unit-test might fail to get reported

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Server Programmability
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The C++ unit-test framework accumulates regular exceptions occurring during suite execution and get reported at the end. However, due to the fact that there are really two phases of setting-up/tearing-down of a test (Constructor/setUp and tearDown/Destructor) it is possible that a failed setUp leaves the test in a state that the destructor doesn't expect, causing it to crash.

      This ticket is to add code to proactively log any exceptions that occur during setUp.

              Assignee:
              Unassigned
              Reporter:
              Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: