This file contains configuration snippets for Maven and Gradle using different configurations.
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.7.0</version>
<configuration>
<mutationEngine>descartes</mutationEngine>
</configuration>
<dependencies>
<dependency>
<groupId>eu.stamp-project</groupId>
<artifactId>descartes</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.7.0</version>
<configuration>
<mutationEngine>descartes</mutationEngine>
</configuration>
<dependencies>
<dependency>
<groupId>eu.stamp-project</groupId>
<artifactId>descartes</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>0.12</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.7.0</version>
<configuration>
<mutationEngine>descartes</mutationEngine>
<mutators>
<mutator>void</mutator>
<mutator>4</mutator>
<mutator>"some string"</mutator>
<mutator>false</mutator>
</mutators>
</configuration>
<dependencies>
<dependency>
<groupId>eu.stamp-project</groupId>
<artifactId>descartes</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.7.0</version>
<configuration>
<outputFormats>
<value>JSON</value>
<value>METHODS</value>
<value>ISSUES</value>
</outputFormats>
<mutationEngine>descartes</mutationEngine>
</configuration>
<dependencies>
<dependency>
<groupId>eu.stamp-project</groupId>
<artifactId>descartes</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.7.0</version>
<configuration>
<features>
<feature>
+STOP_METHODS(except[to_string] except[enum])
</feature>
</features>
<mutationEngine>descartes</mutationEngine>
</configuration>
<dependencies>
<dependency>
<groupId>eu.stamp-project</groupId>
<artifactId>descartes</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.7.0</version>
<configuration>
<features>
<feature>
-DO_NOT_MUTATE()
</feature>
</features>
<mutationEngine>descartes</mutationEngine>
</configuration>
<dependencies>
<dependency>
<groupId>eu.stamp-project</groupId>
<artifactId>descartes</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</plugin>
plugins {
id 'java'
id 'info.solidsoft.pitest' version '1.5.1'
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
pitest ''eu.stamp-project:descartes:1.3.2'
}
pitest {
mutationEngine = "descartes"
pitestVersion = "1.7.0"
}
plugins {
id 'java'
id 'info.solidsoft.pitest' version '1.5.1'
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
pitest 'eu.stamp-project:descartes:1.3.2'
}
pitest {
mutationEngine = "descartes"
pitestVersion = "1.7.0"
junit5PluginVersion = '0.12'
}
plugins {
id 'java'
id 'info.solidsoft.pitest' version '1.5.1'
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
pitest 'eu.stamp-project:descartes:1.3.2'
}
pitest {
mutationEngine = "descartes"
pitestVersion = "1.7.0"
mutators = [ '1.2', 'true', 'optional', '"a"' ]
}
plugins {
id 'java'
id 'info.solidsoft.pitest' version '1.5.1'
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
pitest 'eu.stamp-project:descartes:1.3.2'
}
pitest {
mutationEngine = "descartes"
pitestVersion = "1.7.0"
features = ['+STOP_METHODS()']
}
plugins {
id 'java'
id 'info.solidsoft.pitest' version '1.5.1'
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
pitest 'eu.stamp-project:descartes:1.3.2'
}
pitest {
mutationEngine = "descartes"
pitestVersion = "1.7.0"
features = ['-DO_NOT_MUTATE()']
}