order_1.txt (3791B)
1 [doctest] run with "--help" for options 2 =============================================================================== 3 test_cases_and_suites.cpp(0): 4 TEST CASE: should fail because of an exception 5 6 test_cases_and_suites.cpp(0): ERROR: test case THREW exception: 0 7 8 =============================================================================== 9 test_cases_and_suites.cpp(0): 10 TEST CASE: fixtured test - not part of a test suite 11 12 test_cases_and_suites.cpp(0): ERROR: CHECK( data == 85 ) is NOT correct! 13 values: CHECK( 21 == 85 ) 14 15 =============================================================================== 16 test_cases_and_suites.cpp(0): 17 TEST SUITE: scoped test suite 18 TEST CASE: part of scoped 19 20 test_cases_and_suites.cpp(0): FATAL ERROR: 21 22 =============================================================================== 23 test_cases_and_suites.cpp(0): 24 TEST SUITE: scoped test suite 25 TEST CASE: part of scoped 2 26 27 test_cases_and_suites.cpp(0): FATAL ERROR: 28 29 =============================================================================== 30 test_cases_and_suites.cpp(0): 31 DESCRIPTION: this test has overridden its skip decorator 32 TEST SUITE: skipped test cases 33 TEST CASE: unskipped 34 35 test_cases_and_suites.cpp(0): FATAL ERROR: 36 37 =============================================================================== 38 test_cases_and_suites.cpp(0): 39 TEST SUITE: skipped test cases 40 TEST CASE: skipped - inherited from the test suite 41 42 test_cases_and_suites.cpp(0): FATAL ERROR: 43 44 =============================================================================== 45 test_cases_and_suites.cpp(0): 46 TEST SUITE: some TS 47 TEST CASE: part of some TS 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 test_cases_and_suites.cpp(0): 98 TEST SUITE: ts1 99 TEST CASE: normal test in a test suite from a decorator 100 101 test_cases_and_suites.cpp(0): MESSAGE: failing because of the timeout decorator! 102 103 Test case exceeded time limit of 0.000001! 104 =============================================================================== 105 [doctest] test cases: 16 | 6 passed | 10 failed | 106 [doctest] assertions: 13 | 1 passed | 12 failed | 107 [doctest] Status: FAILURE! 108 Program code.