Updates the junit parsing to account for cases where tools may not utilize <testsuites> as the root element.
Without this change, trying to parse a junit xml file that omits the root testsuites element results in this error:
Parse JUnit report. Cannot read properties of undefined (reading '$')
As explained on this page, the JUnit xml format has no official specification and many tools and projects have minor variations such as this. Common JUnit XML Format & Examples
Updates the junit parsing to account for cases where tools may not utilize
<testsuites>
as the root element.Without this change, trying to parse a junit xml file that omits the root testsuites element results in this error:
As explained on this page, the JUnit xml format has no official specification and many tools and projects have minor variations such as this. Common JUnit XML Format & Examples