-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
verify how badly we got junit-xml wrong #1126
Comments
Hi, I am currently maintaining I don't have a solution to the issue, but I was trying to figure out the open issues with the |
I am interested in completely externalizing the junitxml plugin in the pytest 3.x series |
according to the xsd, im reasonably sure we got the properties wrong |
According to this https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd |
Any chance of getting this fixed? We are currently having to downgrade xunit in jenkins because of this. Thanks, |
@gtmanfred nobody is working on it |
There is also #1862 which seems to describe the same problem. |
The main thing I find missing in the currently output XML is that the top-level Current: <?xml version="1.0" encoding="UTF-8"?>
<testsuite disabled="" errors="" failures="" hostname="" id=""
name="" package="" skipped="" tests="" time="" timestamp="">
<testcase assertions="" classname="" name="" status="" time=""></testcase>
<testcase assertions="" classname="" name="" status="" time=""></testcase>
...
</testsuite> Allowed: <?xml version="1.0" encoding="UTF-8"?>
<testsuites disabled="" errors="" failures="" name="" tests="" time="">
<testsuite disabled="" errors="" failures="" hostname="" id=""
name="" package="" skipped="" tests="" time="" timestamp="">
<properties>
<property name="" value=""/>
</properties>
<testcase assertions="" classname="" name="" status="" time="">
<skipped/>
<error message="" type=""/>
<failure message="" type=""/>
<system-out/>
<system-err/>
</testcase>
<system-out/>
<system-err/>
</testsuite>
<testsuite ...>
...
</testsuite>
...
</testsuites> |
I think this can now be closed given the introduction of junitxml_family option. |
@nicoddemus record-property still add |
Indeed that seems to be wrong: https://github.com/windyroad/JUnit-Schema/blob/master/JUnit.xsd @danilomendesdias would you like to contribute a PR with that fix? |
I'll work on that @nicoddemus. Thanks for you reply. |
according to the relax Schema's at http://help.catchsoftware.com/display/ET/JUnit+Format
we have quite a lot of the elements we should have at the suite level at a testcase level
The text was updated successfully, but these errors were encountered: