Skip to content

Commit

Permalink
Add task to consolidate all subproject test results into single report.
Browse files Browse the repository at this point in the history
  • Loading branch information
msqr committed Jun 24, 2024
1 parent 3e83e8b commit 1a8e1e4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions solarnet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,9 @@ subprojects {
}

}

task testReport(type: TestReport) {
destinationDir = file("$buildDir/reports/all-tests")
// Combine all 'test' task results into a single HTML report
reportOn subprojects.collect { it.tasks.withType(Test) }
}

0 comments on commit 1a8e1e4

Please sign in to comment.