###### tags: `testing` # JUnit5 + Mutation Testing with PIT PIT: http://pitest.org/ Example project: https://github.com/tomekkaczanowski/minimal-junit5-pitest It contains a minimal Maven project with `pom.xml` configured so that you have JUnit5 + Pitest up and running in no time. Execute: ``` mvn clean test -DwithHistory org.pitest:pitest-maven:mutationCoverage ``` This command will run tests, check them with mutation testing and generate site (you can see it at ` target/pit-reports/<REPORT_DATE>/index.html`). Credits to http://testinglikeaboss.com/running-tests/mutation-testing-with-junit-5-pitest/