Kotest wrapper for using Skippy for test execution prediction.
Skippy uses JaCoCo coverage from past test executions to determine the tests that cover any modified code, and runs only the relevant tests.
Requires JDK17+ (currently a requirement from Skippy).
In your build.gradle.kts
:
plugins {
id("io.skippy") version "0.0.20"
}
Create (or add) to a Kotest configuration file:
object KotestConfig : AbstractProjectConfig() {
override val extensions = listOf(SkippyExtension)
}
Now, when you run tests using Gradle, Skippy will automatically skip tests that have not been affected by any change since they were last executed successfully.