Michael Strasser
09/04/2025, 6:30 AM./gradlew tasks
the returned list includes:
jvmKotest - Runs kotest tests
jvmTest - Runs the tests of the test test run.
kotest - Runs kotest tests
But running ./gradlew jvmTest
or, more generally /.gradlew test
fails with message that includes:
Execution failed for task ':jvmTest'.
> There are test sources present and no filters are applied, but the test task did not discover any tests to execute.
I expected the test
and check
tasks to include the jvmKotest
task automatically but they don’t. (Perhaps even the jvmTest
task as well.)
Did I misconfigure Gradle in some way? Is there a configuration like this?
tasks.withType<Test>() {
useKotestEngine()
}