Venkat
06/08/2025, 10:32 PM@RequiresTag("Ignore")
in my Kotlin application, to exclude certain tests, as described here:
https://kotest.io/docs/framework/tags.html#tagging-a-spec
However, when I run the test task with:
./gradlew :app:test
I receive the following warning from Gradle:
Task :app:test
No test executed. This behaviour has been deprecated. This will fail with an error in Gradle 9.0. There are test sources present, but no test was executed. Please check your test configuration. Consult the upgrading guide for further information: <https://docs.gradle.org/8.13/userguide/upgrading_version_8.html#test_task_fail_on_no_test_executed>
I currently have only one test, and it's excluded using the Ignore tag. While this is just a warning in Gradle 8.13, it will cause the build to fail in Gradle 9.0.
Is there a recommended way to handle this scenario when using Kotest and tagged exclusions?
Thanks!Oliver.O
06/09/2025, 9:09 AMVenkat
06/09/2025, 9:14 AMtest
source from the build, but if I do so, then it won't be possible to trigger the test via the kotest tag. Do you have any idea how to handle this?Oliver.O
06/09/2025, 9:17 AMOliver.O
06/09/2025, 9:24 AMVenkat
06/09/2025, 9:24 AMOliver.O
06/09/2025, 10:13 AM