pitest
pitest copied to clipboard
0 prescan fail error when running on Github Maven
I am running "Command Line Quick Start" version of PIT on maven-model-builder.
I am using flags below:
--reportDir mine\dir --sourceDirs mine\dir\repo\maven\maven-model-builder\src --targetTests org.apache.maven.model.* --targetClasses org.apache.maven.model.* --verbose True
I am encountering "0 mutation in prescan" even though I specified the sourceDirs. I am not really sure what's going on.
10:56:37 AM PIT >> FINE : Maximum available memory is 8130 mb 10:56:37 AM PIT >> INFO : Incremental analysis reduced number of mutations by 0 10:56:37 AM PIT >> INFO : Created 0 mutation test units in pre scan Exception in thread "main" org.pitest.help.PitHelpError: No mutations found. This probably means there is an issue with either the supplied classpath or filters. See https://pitest.org for more details. at org.pitest.mutationtest.tooling.MutationCoverage.checkMutationsFound(MutationCoverage.java:396) at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:139) at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:129) at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:60) at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:99) at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:46)