While trying to run a PIT mutation test I get the following error:
mutationCoverage failed: All tests did not pass without mutation when calculating line coverage. Mutation testing requires a green suite.
The tests run just fine when I do a normal test build but while running the mutation tests phase they supposedly fail but no details are provided as to why. I have gone through the reasons listed on the PIT Testing FAQ but I still have no clue what could be wrong.
I tried:
- adding the -Dthreads=1 option to rule of any multi threading issue
- could not find any system properties unique the couple tests that are failing
- the tests are not ignored under normal runs
What are some other things I should try? Or other ways to debug what could be going on here?
vebose
logging in PIT to get more details about failing tests? – Jemimah