blob: a3996385aa169d5eefd7e85e51853be43898d3ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
[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 overrided 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 as 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: 14 | 5 passed | 9 failed |
[doctest] assertions: 11 | 1 passed | 10 failed |
[doctest] Status: FAILURE!
Program code.
|