-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verification fails if root element is <testsuite> and <system-out> presents #111
Comments
The problem is that there is no official spec for JUnit XML (which is crazy). If you have a look at https://github.com/testmoapp/junitxml which is probably the most comprehensive unofficial documentation for JUnit XML, you'll see that sometimes tools create XML with I am getting this from an older version of pytest, which I will upgrade to one that has this fix: pytest-dev/pytest#5477 |
JUnitParser mirrors the allowed JUnit XML schema. The root element can be a |
See #142. |
If root element is
<testsuite>
(not<testsuites>
) and there is<system-out>
(I think any other also will trigger the issue) thenjunitparser verify ...
fails withBasically this is junit test report from
cucumber
test runner.Simplest example to reproduce the issue:
The text was updated successfully, but these errors were encountered: