Skip to content

Commit

Permalink
Merge pull request #211 from grails/fixTestDependency
Browse files Browse the repository at this point in the history
Update IntegrationTestGradlePlugin.groovy
  • Loading branch information
puneetbehl authored Jul 24, 2023
2 parents c4b2fb0 + a8fb6a3 commit 700cfac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class IntegrationTestGradlePlugin implements Plugin<Project> {
}

tasks.register("mergeTestReports", TestReport) {
it.dependsOn("test")
it.dependsOn(tasks.withType(Test).toArray())
it.destinationDirectory.set(project.layout.buildDirectory.dir("reports/tests"))
// These must point to the binary test results directory generated by a Test task instance.
// If Test task instances are specified directly, this task would depend on them and run them.
Expand Down

0 comments on commit 700cfac

Please sign in to comment.