Deprecation Warning
Test sources are present but no test was executed. This will become a build failure in Gradle 9.0.
Where
plugins/gradle/example-client/src/test/java/io/github/besi97/order/service/CreateProductIntegrationTest.java
The file contains a single test method annotated with @Disabled("The test is for reference only"). It is an integration test requiring a running server at localhost:8081.
Gradle detects test sources but executes zero tests, triggering the warning.
Fix options
- Add a real test that actually runs, or
- Remove the test source file entirely, or
- Configure Gradle to not fail on no matching tests:
test {
filter {
setFailOnNoMatchingTests(false)
}
}
Removed in (becomes error)
Gradle 9.0
Resource
https://docs.gradle.org/8.14.3/userguide/upgrading_version_8.html#test_task_fail_on_no_test_executed
Deprecation Warning
Test sources are present but no test was executed. This will become a build failure in Gradle 9.0.
Where
plugins/gradle/example-client/src/test/java/io/github/besi97/order/service/CreateProductIntegrationTest.javaThe file contains a single test method annotated with
@Disabled("The test is for reference only"). It is an integration test requiring a running server atlocalhost:8081.Gradle detects test sources but executes zero tests, triggering the warning.
Fix options
test { filter { setFailOnNoMatchingTests(false) } }Removed in (becomes error)
Gradle 9.0
Resource
https://docs.gradle.org/8.14.3/userguide/upgrading_version_8.html#test_task_fail_on_no_test_executed