You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So my scenario would be running the tests with pytest, then generating the xml report, after that collecting the info from xml report to publish results to testrail.
#5477: The XML file produced by --junitxml now correctly contain a root element.
Previously the xml file would have a <testsuite> tag, but the xunit standard says it should contain a <testsuites> tag, with 1 or more <testsuite> tags inside it.
So my scenario would be running the tests with pytest, then generating the xml report, after that collecting the info from xml report to publish results to testrail.
xml report is something like this:
Here is a function to collect info:
With
pytest 5.0.1
, the collection is proper:However, with
pytest 5.1.1
, I got this:Maybe something has changed that impacts this or probably I miss something to do.
The text was updated successfully, but these errors were encountered: