Open igorwojda opened 1 year ago
I have the very same issue. Though I understand that it works when you run ./gradlew pitest as gradle-pitest-plugin has a default value for testSourceSets of sourceSets.test. Now is it possible to have the same for pit-idea-plugin?
I am still trying to understand what is the expected behavior of the PIT and how all of the pieces are connected.
In my kotlin-mutation-testing project I am experiencing strange behaviour:
When I run tests using the cmd
./gradlew pitest
then Pit Test Coverage Report shows a single class being found (ApplicationService.kt
)(ok)However, when I run pitest using gradle-pitest-plugin (Pit Runner) the Pit Test Coverage Report contains two classes (
ApplicationService.kt
- ok andApplicationServiceTest.kt
- not ok)