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

minimal_junit.txt (1948B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <testsuites>
      3   <testsuite name="all_features" errors="1" failures="1" tests="12">
      4     <testcase classname="test_cases_and_suites.cpp" name="an empty test that will succeed - not part of a test suite" status="run"/>
      5     <testcase classname="test_cases_and_suites.cpp" name="should fail because of an exception" status="run">
      6       <error message="exception">
      7         0
      8       </error>
      9     </testcase>
     10     <testcase classname="test_cases_and_suites.cpp" name="part of scoped" status="run"/>
     11     <testcase classname="test_cases_and_suites.cpp" name="part of scoped 2" status="run"/>
     12     <testcase classname="test_cases_and_suites.cpp" name="part of some TS" status="run"/>
     13     <testcase classname="test_cases_and_suites.cpp" name="fixtured test - not part of a test suite" status="run">
     14       <failure message="21 == 85" type="CHECK">
     15 test_cases_and_suites.cpp(0):
     16 CHECK( data == 85 ) is NOT correct!
     17   values: CHECK( 21 == 85 )
     18 
     19       </failure>
     20     </testcase>
     21     <testcase classname="test_cases_and_suites.cpp" name="normal test in a test suite from a decorator" status="run"/>
     22     <testcase classname="test_cases_and_suites.cpp" name="unskipped" status="run"/>
     23     <testcase classname="test_cases_and_suites.cpp" name="fails - and its allowed" status="run"/>
     24     <testcase classname="test_cases_and_suites.cpp" name="doesn't fail which is fine" status="run"/>
     25     <testcase classname="test_cases_and_suites.cpp" name="fails as it should" status="run"/>
     26     <testcase classname="test_cases_and_suites.cpp" name="doesn't fail but it should have" status="run"/>
     27     <testcase classname="test_cases_and_suites.cpp" name="fails 1 time as it should" status="run"/>
     28     <testcase classname="test_cases_and_suites.cpp" name="fails more times than it should" status="run"/>
     29     <testcase classname="test_cases_and_suites.cpp" name="should fail and no output" status="run"/>
     30   </testsuite>
     31 </testsuites>
     32 Program code.