diff options
author | onqtam <vik.kirilov@gmail.com> | 2017-04-17 10:46:55 +0300 |
---|---|---|
committer | onqtam <vik.kirilov@gmail.com> | 2017-05-16 00:22:21 +0300 |
commit | 119cfb6fe19225427a4561a105ac13b031ab691e (patch) | |
tree | f718651bc80788bd55e72109189233f982830b18 /examples/all_features/test_output/templated_test_cases.cpp.txt | |
parent | e0f18802cb6c036faf7a3690a92f05c5f90a9b87 (diff) |
- added an undocumented flag to omit the "skipped" part in the output summary - for convenience for the all_features example
- grouped examples by project
- changed names of output from tests
- added source files for some features without examples
Diffstat (limited to 'examples/all_features/test_output/templated_test_cases.cpp.txt')
-rw-r--r-- | examples/all_features/test_output/templated_test_cases.cpp.txt | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/examples/all_features/test_output/templated_test_cases.cpp.txt b/examples/all_features/test_output/templated_test_cases.cpp.txt new file mode 100644 index 00000000..5d97a251 --- /dev/null +++ b/examples/all_features/test_output/templated_test_cases.cpp.txt @@ -0,0 +1,57 @@ +[doctest] run with "--help" for options + +root +1 +1.1 + +root +2 +2.1 + +root +2 +== TEST CASE ================================================================== +templated_test_cases.cpp(0) +lots of nested subcases + +TEST CASE FAILED! +threw exception: + unknown exception + +== TEST CASE ================================================================== +templated_test_cases.cpp(0) + Scenario: vectors can be sized and resized + Given: A vector with some items + When: the size is increased + Then: the size and capacity change + +templated_test_cases.cpp(0) ERROR! + CHECK( v.size() == 20 ) +with expansion: + CHECK( 10 == 20 ) + +== TEST CASE ================================================================== +templated_test_cases.cpp(0) + Scenario: vectors can be sized and resized + Given: A vector with some items + When: less capacity is reserved + Then: neither size nor capacity are changed + +templated_test_cases.cpp(0) ERROR! + CHECK( v.size() == 10 ) +with expansion: + CHECK( 5 == 10 ) + +== TEST CASE ================================================================== +templated_test_cases.cpp(0) +test with a fixture - 2 + +templated_test_cases.cpp(0) ERROR! + CHECK( data == 85 ) +with expansion: + CHECK( 84 == 85 ) + +=============================================================================== +[doctest] test cases: 4 | 1 passed | 3 failed | +[doctest] assertions: 18 | 15 passed | 3 failed | +Program code. |