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 Feb 3, 2020
1 parent 6b13372 commit aa7f3bd
Showing 1 changed file with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
<description>Allows accessing extensions located in an XWiki repository</description>
<properties>
<xwiki.jacoco.instructionRatio>0.18</xwiki.jacoco.instructionRatio>
<xwiki.pitest.mutationThreshold>19</xwiki.pitest.mutationThreshold>
<!-- TODO: remove once https://github.com/STAMP-project/pitest-descartes/issues/117 is fixed and put threshold of
19 -->
<xwiki.pitest.mutationThreshold>17</xwiki.pitest.mutationThreshold>
<!-- Old names of this module used for retro compatibility when resolving dependencies of old extensions -->
<xwiki.extension.features>org.xwiki.platform:xwiki-platform-extension-repository-xwiki-handler,org.xwiki.commons:xwiki-commons-extension-repository-xwiki-handler</xwiki.extension.features>
<!-- Name to display by the Extension Manager -->
Expand Down Expand Up @@ -97,6 +99,29 @@
</executions>
</plugin>
</plugins>
<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.**.SystemHTTPProxyTest</param>
</excludedTestClasses>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>

0 comments on commit aa7f3bd

Please sign in to comment.