Skip to content

vasilejureschi/pitmutation-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

727 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pitmutation-jenkins

GitHub tag (latest by date) Build Status

PIT Mutation reporting plugin for Jenkins.

Set up as a post-build step, after the PIT mutation tests have been run.

Configure report path, e.g. target/pit-reports/**/mutations.xml for a Maven build or build/reports/pitest/mutations.xml for a Gradle build.

Jenkins Pipeline

You can use the following step in pipeline to use this plugin in pipeline:

pitmutation ignoreMissingReports: false, killRatioMustImprove: false, minimumKillRatio: 50.0, mutationStatsFile: '**/target/pit-reports/**/mutations.xml'

The plugin needs the XML and HTML output from PIT. Also make sure that a clean target is executed before building, otherwise PIT will keep all of the old reports and it may not pick up the right one.

The report shows mutation statistics with the change since the last successful build, and you can drill down to the annotated source code at class level to see what mutations happened on each line.

Development

Ensure that your IDE is setup correctly.

Releasing

Run mvn release:prepare release:perform but ensure that your Maven settings.xml has been set up with your jenkins-ci.org credentials

About

PIT Mutation reporting plugin for Jenkins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.7%
  • CSS 1.8%
  • HTML 0.5%