Generating aggregate `TestReport` even on failure


(Ketan Padegaonkar) #1

Hi —

I’m trying to generate an aggregate test report in a multi project build. I’d like to have the report generated even on failure. I’m using the following snippet and running via the --continue flag. However the aggregate report is not generated. Can someone help?

task allTests(type: TestReport) {
  reportOn subprojects*.test
  destinationDir = file("${project.buildDir}/reports/tests/allTests")
}

Thanks for you time.