Shows how to use Pitest.
To add PiTest to your project you need to add the following in your pom.xml file:
<build>
<plugins>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.4.3</version>
<dependencies>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>0.10</version>
</dependency>
</dependencies>
</plugin>
...and run the tests:
mvn clean test org.pitest:pitest-maven:mutationCoverageThe results are in target/pit-reports.