doctest

FORK: The fastest feature-rich C++11/14/17/20 single-header testing framework
git clone https://git.neptards.moe/neptards/doctest.git
Log | Files | Refs | README

coverage_maxout.cpp.txt (1603B)


      1 [doctest] run with "--help" for options
      2 ===============================================================================
      3 coverage_maxout.cpp(0):
      4 TEST CASE:  exercising tricky code paths of doctest
      5 
      6 coverage_maxout.cpp(0): ERROR: CHECK( str.compare(const_str, true) != 0 ) is NOT correct!
      7   values: CHECK( 0 != 0 )
      8   logged: should fail
      9 
     10 coverage_maxout.cpp(0): ERROR: CHECK( str.compare("omgomgomg", false) != 0 ) is NOT correct!
     11   values: CHECK( 0 != 0 )
     12   logged: should fail
     13 
     14 coverage_maxout.cpp(0): ERROR: CHECK_FALSE( isThereAnything ) is NOT correct!
     15   values: CHECK_FALSE( true )
     16   logged: should fail
     17 
     18 ===============================================================================
     19 coverage_maxout.cpp(0):
     20 TEST SUITE: exception related
     21 TEST CASE:  will end from a std::string exception
     22 
     23 coverage_maxout.cpp(0): ERROR: test case THREW exception: std::string!
     24 
     25 ===============================================================================
     26 coverage_maxout.cpp(0):
     27 TEST SUITE: exception related
     28 TEST CASE:  will end from a const char* exception
     29 
     30 coverage_maxout.cpp(0): ERROR: test case THREW exception: const char*!
     31 
     32 ===============================================================================
     33 coverage_maxout.cpp(0):
     34 TEST SUITE: exception related
     35 TEST CASE:  will end from an unknown exception
     36 
     37 coverage_maxout.cpp(0): ERROR: test case THREW exception: unknown exception
     38 
     39 ===============================================================================
     40 [doctest] test cases:  4 |  0 passed | 4 failed |
     41 [doctest] assertions: 31 | 28 passed | 3 failed |
     42 [doctest] Status: FAILURE!
     43 Program code.