I understand that a consolidated test report for a multi-project build can be achieved by setting …
// Consolidate test report at the root-project level
testResultsDirName
= "$rootProject.buildDir/test-results"
testReportDirName
= "$rootProject.buildDir/reports/tests"
But for a legacy build we have tests with the same name which we therefore split into different directories in order to avoid getting them overwritten …
// Consolidate test report at the root-project level
testResultsDirName
= "$rootProject.buildDir/test-results/$foo"
Now, how can I tell Gradle to consider ‘testResultsDir’ and its sub-directories when creating the consolidated test report? The plain Ant task has a ‘fileset includes’ attribute.
Any suggestions? Again, I want exactly one consolidated HTML report that includes all test results.
I understand that a consolidated test report for a multi-project build can be achieved by setting…
Actually, I don’t think it is officially supported. Did you manage to implement it? I can see several potential problems but I’m curious if you have found the workaround solid.
Gradle 1.4 brings some changes to the way the html reports are generated (namely, html is generated from internal test results instead of junit-fromatted xml test results.
I wonder if it’s possible to create a merged HTML report by sharing the same ‘testResultsDir’ between ‘Test’ tasks. Sounds like some people are doing just that.
I’m afraid there won’t be a solution in 1.4. We do, however, have an ongoing work on the aggregated reporting which hopefully will be available in on of the next releases.
Hi, I want to ask if there will be support of consolidated test reports in Gradle 1.5 ver. And if yes, at the moment how can I consolidate test for a multi-project build using