forked from mirror/doctest
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
3.5 KiB
Plaintext
102 lines
3.5 KiB
Plaintext
[doctest] run with "--help" for options
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
TEST CASE: should fail because of an exception
|
|
|
|
test_cases_and_suites.cpp(0): ERROR: test case THREW exception: 0
|
|
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
TEST SUITE: scoped test suite
|
|
TEST CASE: part of scoped
|
|
|
|
test_cases_and_suites.cpp(0): FATAL ERROR:
|
|
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
TEST SUITE: scoped test suite
|
|
TEST CASE: part of scoped 2
|
|
|
|
test_cases_and_suites.cpp(0): FATAL ERROR:
|
|
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
TEST SUITE: some TS
|
|
TEST CASE: part of some TS
|
|
|
|
test_cases_and_suites.cpp(0): FATAL ERROR:
|
|
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
TEST CASE: fixtured test - not part of a test suite
|
|
|
|
test_cases_and_suites.cpp(0): ERROR: CHECK( data == 85 ) is NOT correct!
|
|
values: CHECK( 21 == 85 )
|
|
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
TEST SUITE: ts1
|
|
TEST CASE: normal test in a test suite from a decorator
|
|
|
|
test_cases_and_suites.cpp(0): MESSAGE: failing because of the timeout decorator!
|
|
|
|
Test case exceeded time limit of 0.000001!
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
DESCRIPTION: this test has overridden its skip decorator
|
|
TEST SUITE: skipped test cases
|
|
TEST CASE: unskipped
|
|
|
|
test_cases_and_suites.cpp(0): FATAL ERROR:
|
|
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
DESCRIPTION: regarding failures
|
|
TEST SUITE: test suite with a description
|
|
TEST CASE: fails - and its allowed
|
|
|
|
test_cases_and_suites.cpp(0): FATAL ERROR:
|
|
|
|
Allowed to fail so marking it as not failed
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
DESCRIPTION: regarding failures
|
|
TEST SUITE: test suite with a description
|
|
TEST CASE: fails as it should
|
|
|
|
test_cases_and_suites.cpp(0): FATAL ERROR:
|
|
|
|
Failed as expected so marking it as not failed
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
DESCRIPTION: regarding failures
|
|
TEST SUITE: test suite with a description
|
|
TEST CASE: doesn't fail but it should have
|
|
|
|
Should have failed but didn't! Marking it as failed!
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
DESCRIPTION: regarding failures
|
|
TEST SUITE: test suite with a description
|
|
TEST CASE: fails 1 time as it should
|
|
|
|
test_cases_and_suites.cpp(0): FATAL ERROR:
|
|
|
|
Failed exactly 1 times as expected so marking it as not failed!
|
|
===============================================================================
|
|
test_cases_and_suites.cpp(0):
|
|
DESCRIPTION: regarding failures
|
|
TEST SUITE: test suite with a description
|
|
TEST CASE: fails more times than it should
|
|
|
|
test_cases_and_suites.cpp(0): ERROR:
|
|
|
|
test_cases_and_suites.cpp(0): ERROR:
|
|
|
|
Didn't fail exactly 1 times so marking it as failed!
|
|
===============================================================================
|
|
[doctest] test cases: 15 | 6 passed | 9 failed |
|
|
[doctest] assertions: 12 | 1 passed | 11 failed |
|
|
[doctest] Status: FAILURE!
|
|
Program code.
|