Skip to content

Commit

Permalink
Exclude mutants for methods not targeted by tests
Browse files Browse the repository at this point in the history
  • Loading branch information
javiertuya committed Jul 17, 2024
1 parent fcfc2a1 commit 3346b4d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions st-tdg-eval/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@
</configuration>
</plugin>
<plugin>
<!-- Run with: mvn test-compile
org.pitest:pitest-maven:mutationCoverage -->
<!-- Run with: mvn test-compile org.pitest:pitest-maven:mutationCoverage -->
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.16.1</version>
Expand All @@ -130,13 +129,15 @@
<param>io.swagger.petstore.data.Pet*</param>
<param>io.swagger.petstore.data.Order*</param>
</targetClasses>
<!--
<excludedMethods>
<param>io.swagger.petstore.data.PetData.deleteAll*</param>
<param>io.swagger.petstore.data.PetData.createPet*</param>
<param>io.swagger.petstore.data.PetData.addPet*</param>
<!-- don't mutate methods that are not the goal of tests (although some can't be excluded) -->
<param>get*</param>
<param>add*</param>
<param>create*</param>
<param>delete*</param>
<param>findPetByTags</param>
</excludedMethods>
-->

</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 3346b4d

Please sign in to comment.