quality/mutation-gate/kotlin
Mutation testing runs on the core
Implements quality/mutation-gate for kotlin.
| Severity | info |
| Tiers | 1 |
| Stacks | kotlin |
| Scope | root |
| Kind | outcome |
| Source | library v0.3.1 |
| Selected by | fleetlint-recommended@v0.3.1 |
Requirement
Pitest runs on the core modules (the Gradle Pitest plugin or pitest-maven), from the task runner or a workflow. Pitest mutates JVM bytecode; Kotlin Multiplatform code is covered only through its JVM or Android host tests.
Why
Coverage says a line ran; a surviving mutant says the tests would not notice if it were wrong.
Fix
Add the info.solidsoft.pitest Gradle plugin with mutationThreshold for the core modules and run ./gradlew pitest weekly.
Agent instruction: Add a mutate target that runs the stack’s mutation tool on the core packages with a survivor threshold, and a weekly workflow that calls it.
See: https://fleetlint.org/baseline/#tests, https://fleetlint.org/stacks/#kotlin-jvm--android
Generated by fleetlint docs from catalog v0.3.1.