Skip to content

Commit

Permalink
Introduce mutation testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvi committed Oct 15, 2019
1 parent 5d4ec02 commit c2ca1ef
Showing 1 changed file with 40 additions and 2 deletions.
42 changes: 40 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -283,17 +283,55 @@
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<version>3.0.0-M3</version>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.2</version>
<version>3.0.0-M3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>



<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.4.10</version>

<executions>
<execution>
<id>pit-report</id>
<phase>test</phase>
<goals>
<goal>mutationCoverage</goal>
</goals>
</execution>
</executions>

<!-- https://github.com/hcoles/pitest/issues/284 -->
<!-- Need this to support JUnit 5 -->
<dependencies>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>0.9</version>
</dependency>
</dependencies>
<configuration>
<targetClasses>
<param>it.intre.*</param>
</targetClasses>
<targetTests>
<param>it.intre.*</param>
</targetTests>
</configuration>
</plugin>


</plugins>
</build>

Expand Down

0 comments on commit c2ca1ef

Please sign in to comment.