test-results-reporter / parser

Parse test results from JUnit, TestNG, xUnit and many more
https://www.testbeats.com
MIT License
12 stars 9 forks source link

JUnit support for testsuite as root node #47

Closed bryanbcook closed 7 months ago

bryanbcook commented 7 months ago

As per #46, there is some variance in JUnit reporting implementations. According to this schema, JUnit can support a list of testsuites or testsuite as the root node:

Existing format:

<testsuites>
   <testsuite>
     <testcase/>
     <testcase/>
   </testsuite>
   <testsuite .../>
</testsuites>

Also supported:

<testsuite>
   <testcase/>
   <testcase/>
</testsuite>