Closed idosal closed 4 years ago
Thanks for your report. I took a look at it and in fact that feature was implemented only for the Maven plugin. It is required to add a few more things in PIT itself to support command line arguments (which are used by the Gradle plugin).
I will create a PR in PIT to have it included in the next version (1.4.12).
The PR has been merged upstream. @idosal You can play with the snapshot to verify it works 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.6'
}
}
pitest {
pitestVersion = "1.5.1-SNAPSHOT"
}
It works. Thanks!
Gradle version: 5.1.1 and 6.1.1 gradle-pitest-plugin: 1.4.6 pitest-junit5-plugin: 0.8 and 0.12
Running 'pitest' task produces the following output:
>>>> skipFailingTests is not a recognized option
without running the tests. When I look at PitestPluginExtension.groovy this property exists.Gradle setup:
Full Gradle output: