Feature #6265
generate junit-compatible xml results for output
Status:
New
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
version:
History
#1 Updated by Greg Shah about 2 years ago
Customers are using tools such as gitlab for code repo (commercial git) and for CI/CD pipelines. They have unit test reporting https://docs.gitlab.com/ee/ci/unit_test_reports.html. They use the junit xml format to report in the UI. https://www.ibm.com/docs/en/developer-for-zos/14.1.0?topic=formats-junit-xml-format
This task is meant to add the junit xml format as an output option for our results.
#2 Updated by Greg Shah over 1 year ago
Chris: Can you post your code that implements this feature? I'd like to start with it.
#3 Updated by Chris Weaver over 1 year ago
- File JunitGenerator.java added
Hi Greg, It's not much but is a clone of ReportGenerator.java, I attached the file. To include, I modified Harness.java to include:
// generate junit xml report for the results JunitGenerator junit = new JunitGenerator(testPlan, rc); junit.generate();
Right after reports.generate();