Skip to content

Instantly share code, notes, and snippets.

@cgt
Created August 14, 2020 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgt/3f38cc422b1541f8398e2411a90537ef to your computer and use it in GitHub Desktop.
Save cgt/3f38cc422b1541f8398e2411a90537ef to your computer and use it in GitHub Desktop.
Snippet of my Maven config for pitest + Kotlin
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.4.5</version>
<configuration>
<avoidCallsTo>
<avoidCallsTo>kotlin.jvm.internal.Intrinsics</avoidCallsTo>
</avoidCallsTo>
<excludedMethods>
<excludedMethod>apply</excludedMethod>
<excludedMethod>call</excludedMethod>
<excludedMethod>invoke</excludedMethod>
<excludedMethod>get*</excludedMethod>
</excludedMethods>
</configuration>
<dependencies>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>0.8</version>
</dependency>
</dependencies>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment