-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Really liking this project for converting some shell scripts into tests that can emit JUnit XML.
One thing that I found is that the current XML format is not valid JUnit XML.
Specifically, it produces output like this:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites failures="0" ...
<testcase ...
<testcase ...
</testsuites>
That was failing in our tools due to the fact there is no <testsuite> under <testsuites>.
I fixed it on my side simply by changing <testsuites> to <testsuite> (and </testsuites> to </testsuite>). The element is required to have one or more testsuite, but apparently its also valid to have a single testsuite at the root level.
For additional reading, please see https://stackoverflow.com/a/4925847/161022
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels