maarten ha
04/29/2022, 4:51 PMmike.holler
04/29/2022, 4:55 PMmike.holler
04/29/2022, 4:56 PMmaarten ha
04/29/2022, 4:56 PMmike.holler
04/29/2022, 4:56 PMmaarten ha
04/29/2022, 4:57 PMmike.holler
04/29/2022, 4:58 PMmaarten ha
04/29/2022, 4:58 PMmike.holler
04/29/2022, 4:59 PMartifacts:
when: always
paths:
- '*/build/reports/'
- '*/build/test-results/'
reports:
junit:
- '*/build/test-results/*/TEST-*.xml'
Note that the leading *
is only one folder deep.mike.holler
04/29/2022, 5:00 PMThis release adds the newEmphasis mine 😢plugin to make it easy to aggregate test results from multiple projects into a single HTML report.test-report-aggregation
mike.holler
04/29/2022, 5:00 PMmike.holler
04/29/2022, 5:03 PMTestReportAggregation
task is a thin wrapper around TestReport
, which "Generates an HTML test report from the results of one or more Test
tasks."
https://docs.gradle.org/7.4.2/javadoc/org/gradle/api/tasks/testing/TestReport.html
Now that I'm thinking about it, I was most interested in the HTML report and coverage reports -- why do you want one XML file? When I run my tests, I get one test xml file per test class. Is a single XML file a problem you really need to solve for?maarten ha
04/29/2022, 5:06 PMmaarten ha
04/29/2022, 5:08 PMVampire
04/29/2022, 9:21 PM