Skip to content

Commit

Permalink
Merge pull request #243 from grails/remove-dependency-from-integratio…
Browse files Browse the repository at this point in the history
…n-test-task

Remove task dependency `integrationTest` -> `test`
  • Loading branch information
puneetbehl authored Oct 26, 2023
2 parents 7c1605f + cc598d9 commit 4415733
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class IntegrationTestGradlePlugin implements Plugin<Project> {

TaskContainer tasks = project.tasks
def integrationTestTask = tasks.register('integrationTest', Test) {
it.dependsOn("test")
it.group = LifecycleBasePlugin.VERIFICATION_GROUP
it.testClassesDirs = integrationTest.output.classesDirs
it.classpath = integrationTest.runtimeClasspath
Expand All @@ -87,7 +86,7 @@ class IntegrationTestGradlePlugin implements Plugin<Project> {
}

tasks.register("mergeTestReports", TestReport) {
it.dependsOn(tasks.withType(Test).toArray())
it.mustRunAfter(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 4415733

Please sign in to comment.