JUnit 5 test framework support for Pitest
Clone or download
Pull request Compare This branch is 10 commits ahead of tobiasstadler:master.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src #13 treat aborted tests as successes Oct 14, 2018
.gitignore ignore IDEA and NetBeans build files Dec 6, 2017
.travis.yml first cut of travid config Oct 15, 2018
LICENSE.txt Initial commit Feb 28, 2017
README.md bump version in readme Oct 15, 2018
pom.xml [maven-release-plugin] prepare for next development iteration Oct 18, 2018


JUnit 5 Plugin

Adds support to pitest for JUnit 5 and the Jupiter api.


Maven Central

  • 0.7 requires pitest 1.4.0 or above
  • 0.6 requires pitest 1.4.0 or above
  • 0.5 requires pitest 1.4.0 or above
  • 0.4 requires pitest 1.3.2 or above
  • 0.3 requires pitest 1.3.0 or 1.3.1
  • 0.2 requires pitest 1.2.5


The plugin has been built against JUnit platform 1.2.0 - you may encounter issues if you use it with a different version.

To activate the plugin it must be placed on the classpath of the pitest tool (not on the classpath of the project being mutated).

e.g for maven



or for gradle

buildscript {
   repositories {
   dependencies {
       classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.3.0'
       pitest 'org.pitest:pitest-junit5-plugin:0.7'

apply plugin: "info.solidsoft.pitest"

pitest {
    pitestVersion = "1.4.2"
    testPlugin = "junit5"
    targetClasses = ['our.base.package.*']  // by default "${project.group}.*"

See gradle-pitest-plugin documentation for more configuration options.


Plugin originally created by @tobiasstadler.