pitest

JUnit tests pass but PIT says the suite isn't green

久未见 提交于 2019-12-04 10:17:33
问题 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

JUnit tests pass but PIT says the suite isn't green

…衆ロ難τιáo~ 提交于 2019-12-03 04:40:56
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