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