Skip to content

Commit 6453f00

Browse files
committed
Fix HTML reports not being generated for integration tests
1 parent e2978f9 commit 6453f00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/IntegrationTestGradlePlugin.groovy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ class IntegrationTestGradlePlugin implements Plugin<Project> {
7272

7373
// These must point to the binary test results directory generated by a Test task instance.
7474
// If Test task instances are specified directly, this task would depend on them and run them.
75-
reportOn files("$buildDir/test-results/binary/test", "$buildDir/test-results/binary/integrationTest")
75+
reportOn files("$buildDir/test-results/binary/test", "$buildDir/test-results/binary/integrationTest"),
76+
// different versions of Gradle store these results in different places. ugh.
77+
files("$buildDir/test-results/test/binary", "$buildDir/test-results/integrationTest/binary")
7678
}
7779
integrationTest.finalizedBy mergeTestReports
7880

0 commit comments

Comments
 (0)