unittest-xml-reporting icon indicating copy to clipboard operation
unittest-xml-reporting copied to clipboard

system-out for each testcase

Open J-u-n-o opened this issue 2 years ago • 1 comments

We have updated our Jenkins build system and currently noticing a difference in the XML output files (using python unittest).

New Jenkins:

 testsuite
   testcase
   testcase
   system-out
   system-err

Old Jenkins:

 testsuite
   testcase
     failure
     system-out
   testcase
     failure
     system-out

Each XML of the various testsuites contains the same system stdout/err output for the full testrun. In the old system the stdout/err was attached to each corresponding testcase. So no system-out duplicates, and so smaller xml files

Currently debugging and investigating using xmlrunner but no idea yet.

Has this been a feature/implementation change? Or can I easily restore/override the default implementation by creating my own MyXMLTestRunner?

J-u-n-o avatar Feb 28 '22 20:02 J-u-n-o

@J-u-n-o , you are not providing any version information for the old/new Jenkins, so there could be millions of combinations.

There are many junit plugins for Jenkins that are not using unittest-xml-reporting, and that's okay, but we cannot provide support for those.

dnozay avatar Jul 25 '22 16:07 dnozay