Hello
We were using Gradle 8.14.3 on Java and Kotlin projects, and a custom integration test like this:
tasks.test {
filter {
excludeTestsMatching("*IntegrationTest")
}
}
val integrationTest = tasks.register<Test>("integrationTest") {
group = "verification"
description = "Runs integration tests."
filter {
includeTestsMatching("*IntegrationTest")
}
mustRunAfter(tasks.test)
}
tasks.check {
dependsOn(integrationTest)
}
However, after upgrading to Gradle v9, no integration tests are executed. We now get in the output:
> Task :integrationTest NO-SOURCE
Accordingly to the documentation, nothing changed in test filtering: Testing in Java & JVM projects
Any suggestion?