Skip to content

Commit

Permalink
[Misc] Exclude a test from pitest since it's a false positive. See ST…
Browse files Browse the repository at this point in the history
  • Loading branch information
vmassol committed Jan 31, 2020
1 parent 86bb832 commit 8c490b4
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
<description>XWiki Platform - Rendering - Parser</description>
<properties>
<xwiki.jacoco.instructionRatio>0.83</xwiki.jacoco.instructionRatio>
<!-- TODO: Put back threshold of 100 once https://github.com/STAMP-project/pitest-descartes/issues/117 is fixed,
see belpw -->
<xwiki.pitest.mutationThreshold>33</xwiki.pitest.mutationThreshold>
</properties>
<dependencies>
<dependency>
Expand All @@ -48,4 +51,29 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<!-- Exclude tests breaking pitest, see https://github.com/STAMP-project/pitest-descartes/issues/117
TODO: remove when fixed -->
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<executions>
<execution>
<id>pitest-check</id>
<goals>
<goal>mutationCoverage</goal>
</goals>
<configuration>
<excludedTestClasses>
<param>org.xwiki.**.DefaultContentParserTest</param>
</excludedTestClasses>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>

0 comments on commit 8c490b4

Please sign in to comment.