PIT auf Domain und Application beschränken

This commit is contained in:
2026-04-21 06:06:45 +02:00
parent 016da8318d
commit 523774707b
4 changed files with 35 additions and 4 deletions
+6 -4
View File
@@ -169,11 +169,13 @@
</goals> </goals>
<configuration> <configuration>
<!-- <!--
GUI adapter mutation thresholds are intentionally low: the JavaFX GUI adapter: PIT is skipped entirely. The JavaFX Application lifecycle
Application lifecycle requires a display or headless Monocle runtime cannot be meaningfully mutation-tested without a running display or
which is introduced in a later work package. Once Monocle smoke tests Monocle runtime, and the remaining testable surface is too small to
are in place, these thresholds will be raised. produce useful mutation scores. Mutation analysis is deferred until
GUI coverage matures.
--> -->
<skip>true</skip>
<coverageThreshold>0</coverageThreshold> <coverageThreshold>0</coverageThreshold>
<mutationThreshold>0</mutationThreshold> <mutationThreshold>0</mutationThreshold>
</configuration> </configuration>
+14
View File
@@ -50,6 +50,20 @@
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<executions>
<execution>
<id>pitest</id>
<configuration>
<skip>false</skip>
<coverageThreshold>70</coverageThreshold>
<mutationThreshold>70</mutationThreshold>
</configuration>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
+14
View File
@@ -20,6 +20,20 @@
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<executions>
<execution>
<id>pitest</id>
<configuration>
<skip>false</skip>
<coverageThreshold>70</coverageThreshold>
<mutationThreshold>70</mutationThreshold>
</configuration>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
+1
View File
@@ -248,6 +248,7 @@
<goal>mutationCoverage</goal> <goal>mutationCoverage</goal>
</goals> </goals>
<configuration> <configuration>
<skip>true</skip>
<coverageThreshold>70</coverageThreshold> <coverageThreshold>70</coverageThreshold>
<mutationThreshold>70</mutationThreshold> <mutationThreshold>70</mutationThreshold>
</configuration> </configuration>