Skip to content

Fix pytest junitxml output processing for make check

Tom Krizek requested to merge 4401-make-check-fix-junitxml-output-processing into main

Not every element tagged skipped in the JUnitXML tree has to contain the type attribute. An example of that is a test that results in xpass.

Closes #4401 (closed)


See https://github.com/pytest-dev/pytest/blob/23906106968eb95afbd61adfbc7bbb795fc9aaa9/src/_pytest/junitxml.py#L199 for an example of a skipped node being created without the type value.

Edited by Tom Krizek

Merge request reports