Closed davidburstrom closed 4 years ago
Thanks for your report. Do you use the same PIT version (overriden by pitestVersion
) in both cases or the default ones?
I've tried a permutation of PITest [1.5.0, 1.5.1] and plugin [1.4.7, 1.4.8], and the source code is omitted as soon as 1.4.8 is used.
Thanks. It's probably this commit. I will write a functional test to verify that and I will try to fix it.
@davidburstrom You may want to play with 1.4.9-SNAPSHOT to check if it fixed the problem for you.
buildscript {
repositories {
mavenCentral()
//Needed only for SNAPSHOT versions
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}
dependencies {
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.4.9-SNAPSHOT'
}
}
I'm inclined to say that it is indeed fixed in 1.4.9-SNAPSHOT. Well done!
Thanks. 1.4.9 just has been released.
There's been a regression between 1.4.7 and 1.4.8 in the HTML reporting, when looking at individual classes. In 1.4.7 the report still contained the source code of the mutated production classes, but in 1.4.8 that went away. The report still lists the performed mutations and line numbers.