diff options
author | onqtam <vik.kirilov@gmail.com> | 2017-05-01 20:25:09 +0300 |
---|---|---|
committer | onqtam <vik.kirilov@gmail.com> | 2017-05-16 00:22:22 +0300 |
commit | 7630535ce91405bab07030b4912c0d584c731151 (patch) | |
tree | d45298e5a1b2f69bd240f24d7e53318e487a0410 /examples/all_features/test_output/logging.cpp.txt | |
parent | 321f27033414d0a3d45c6c51296121ef416d5dea (diff) |
more code coverage
Diffstat (limited to 'examples/all_features/test_output/logging.cpp.txt')
-rw-r--r-- | examples/all_features/test_output/logging.cpp.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/examples/all_features/test_output/logging.cpp.txt b/examples/all_features/test_output/logging.cpp.txt index 72e342f6..2fe5fce9 100644 --- a/examples/all_features/test_output/logging.cpp.txt +++ b/examples/all_features/test_output/logging.cpp.txt @@ -68,6 +68,16 @@ threw exception: =============================================================================== logging.cpp(0) +TEST CASE: a test case that will end from an exception and should print the unprinted context + +TEST CASE FAILED! +threw exception: + 0 +with context: + should be printed even if an exception is thrown and no assert fails before that + +=============================================================================== +logging.cpp(0) TEST CASE: third party asserts can report failures to doctest logging.cpp(0) ERROR! @@ -94,6 +104,6 @@ logging.cpp(0) FATAL ERROR! fail the test case and also end it =============================================================================== -[doctest] test cases: 5 | 0 passed | 5 failed | +[doctest] test cases: 6 | 0 passed | 6 failed | [doctest] assertions: 6 | 0 passed | 6 failed | Program code. |