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

executable_dll_and_plugin.txt (985B)


      1 [doctest] run with "--help" for options
      2 I am a test from the dll!
      3 I am a test from the implementation!
      4 I am a test from the implementation_2!
      5 I am a test from the executable!
      6 ===============================================================================
      7 main.cpp(0):
      8 TEST CASE:  executable
      9 
     10 main.cpp(0): ERROR: test case THREW exception: char: 97
     11 
     12 ===============================================================================
     13 plugin.cpp(0):
     14 TEST SUITE: some test suite
     15 TEST CASE:  test case in a plugin
     16   some subcase
     17 
     18 plugin.cpp(0): MESSAGE: triggering the INFO above to be printed
     19   logged: some info
     20 
     21 plugin.cpp(0): ERROR: CHECK( 1 == 2 ) is NOT correct!
     22   values: CHECK( 1 == 2 )
     23   logged: some info
     24 
     25 plugin.cpp(0): FATAL ERROR: certain death!
     26   logged: some info
     27 
     28 ===============================================================================
     29 [doctest] test cases: 5 | 3 passed | 2 failed | 0 skipped
     30 [doctest] assertions: 3 | 1 passed | 2 failed |
     31 [doctest] Status: FAILURE!