minimal.txt (3512B)
1 =============================================================================== 2 test_cases_and_suites.cpp(0): 3 TEST CASE: should fail because of an exception 4 5 test_cases_and_suites.cpp(0): ERROR: test case THREW exception: 0 6 7 =============================================================================== 8 test_cases_and_suites.cpp(0): 9 TEST SUITE: scoped test suite 10 TEST CASE: part of scoped 11 12 test_cases_and_suites.cpp(0): FATAL ERROR: 13 14 =============================================================================== 15 test_cases_and_suites.cpp(0): 16 TEST SUITE: scoped test suite 17 TEST CASE: part of scoped 2 18 19 test_cases_and_suites.cpp(0): FATAL ERROR: 20 21 =============================================================================== 22 test_cases_and_suites.cpp(0): 23 TEST SUITE: some TS 24 TEST CASE: part of some TS 25 26 test_cases_and_suites.cpp(0): FATAL ERROR: 27 28 =============================================================================== 29 test_cases_and_suites.cpp(0): 30 TEST CASE: fixtured test - not part of a test suite 31 32 test_cases_and_suites.cpp(0): ERROR: CHECK( data == 85 ) is NOT correct! 33 values: CHECK( 21 == 85 ) 34 35 =============================================================================== 36 test_cases_and_suites.cpp(0): 37 TEST SUITE: ts1 38 TEST CASE: normal test in a test suite from a decorator 39 40 test_cases_and_suites.cpp(0): MESSAGE: failing because of the timeout decorator! 41 42 Test case exceeded time limit of 0.000001! 43 =============================================================================== 44 test_cases_and_suites.cpp(0): 45 DESCRIPTION: this test has overridden its skip decorator 46 TEST SUITE: skipped test cases 47 TEST CASE: unskipped 48 49 test_cases_and_suites.cpp(0): FATAL ERROR: 50 51 =============================================================================== 52 test_cases_and_suites.cpp(0): 53 DESCRIPTION: regarding failures 54 TEST SUITE: test suite with a description 55 TEST CASE: fails - and its allowed 56 57 test_cases_and_suites.cpp(0): FATAL ERROR: 58 59 Allowed to fail so marking it as not failed 60 =============================================================================== 61 test_cases_and_suites.cpp(0): 62 DESCRIPTION: regarding failures 63 TEST SUITE: test suite with a description 64 TEST CASE: fails as it should 65 66 test_cases_and_suites.cpp(0): FATAL ERROR: 67 68 Failed as expected so marking it as not failed 69 =============================================================================== 70 test_cases_and_suites.cpp(0): 71 DESCRIPTION: regarding failures 72 TEST SUITE: test suite with a description 73 TEST CASE: doesn't fail but it should have 74 75 Should have failed but didn't! Marking it as failed! 76 =============================================================================== 77 test_cases_and_suites.cpp(0): 78 DESCRIPTION: regarding failures 79 TEST SUITE: test suite with a description 80 TEST CASE: fails 1 time as it should 81 82 test_cases_and_suites.cpp(0): FATAL ERROR: 83 84 Failed exactly 1 times as expected so marking it as not failed! 85 =============================================================================== 86 test_cases_and_suites.cpp(0): 87 DESCRIPTION: regarding failures 88 TEST SUITE: test suite with a description 89 TEST CASE: fails more times than it should 90 91 test_cases_and_suites.cpp(0): ERROR: 92 93 test_cases_and_suites.cpp(0): ERROR: 94 95 Didn't fail exactly 1 times so marking it as failed! 96 =============================================================================== 97 [doctest] test cases: 15 | 6 passed | 9 failed | 98 [doctest] assertions: 12 | 1 passed | 11 failed | 99 [doctest] Status: FAILURE! 100 Program code.