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
Description:
I got the following nested results when merge one JUnit XML with root element testsuite and another JUnit XML with root element testsuites.
JUnit XML with testsuite(name test_suite.xml in code):
If you merge first the mypy xml, then the pytest xml, the result is wrong (nested testsuites).
If you switch the order (pytest with two testsuites, then mypy) the result is as expected.
The workaround proposed above behaves correctly for both cases.
Description:
I got the following nested results when merge one JUnit XML with root element
testsuite
and another JUnit XML with root elementtestsuites
.JUnit XML with
testsuite
(nametest_suite.xml
in code):JUnit XML with
testsuites
(nametest_suites.xml
in code):And I run the code:
Actual:
Expected:
My Solution:
And currently I solved this problem by converting all
testsuite
JUnit XML totestsuites
JUnit XML and then update the statistics.I think this could be done in junitparser side to make it compatibile with merging
testsuite
andtestsuites
and get the right statistics.The text was updated successfully, but these errors were encountered: