Actions
Cleanup #47118
closedmgr/dashboard: export test results in JUnit format
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Jenkins support JUnit test output by means of the already installed JUnit plugin. This can help to better understand Jenkins failures (as it allows Jenkins to distinguish between build and testing failures). Additionally, it provides historical charts of number of tests failed, time to complete, improved error messages, it can be integrated with other Jenkins plugins (like Test Result Analyzer), and other features like coverage.
JUnit support could be added to the following dashboard tests:- make check:
ctest
might output XML withctest -T Test
, but the XML generated is not JUnit compatible. It either needs Jenkins XUnit Plugin instead. This XSL could also be tried to convert CTest XML into JUnit XML. - Dashboard front-end e2e tests: Cypress supports JUnit
- API tests: while
nose
andpytest
have native support for JUnit, we are usingunittest
, which does not. However, a third party tool (unittest-xml-reporting
) can do the trick.
Updated by Ernesto Puerta over 3 years ago
- Status changed from New to In Progress
- Pull request ID set to 36771
Updated by Lenz Grimmer over 3 years ago
- Status changed from In Progress to Resolved
- Target version set to v16.0.0
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 132 to General
Actions