I am using jdk7 on defects4j 1.0 and I need to use PITest to mutate the code.
As is shown in the releases of pit, https://github.com/hcoles/pitest/releases?page=5 pit1.4+ no longer supports jdk7 so I have to choose pit1.3.2 to do my research.
But I find that pit stops analyzing each mutant as soon as there is a test case that kills it, which is mentioned here, Automatically recognize which mutants killed by which test cases in Pitest
Is there some actionable way to get a complete killing matrix, or get all tests that kill each mutant, while still using pit 1.3.X which is compatible with jdk7?
Or Is there a way to let pit only pick a test case(method level) to execute?
Many thanks
Full matrix mode was introduced in pitest 1.5.2, enabled with the
fullMutationMatrixparameter. It is an only partially supported feature, other pitest features are not guaranteed to work if it is enabled.You would need to back port it to 1.3.2 if you wish to run on Java 7.
Considerably less effort would be just to use the latest version of pitest and Java 8. The majority of Java 7 codebases will compile and test without issue. You will usually only encounter problems if they use a bytecode manipulation library that does not recognise the more modern Java version.