PIT 未发现突变
PIT no mutations found
C:\Users\TZ>java -cp C:\Users\TZ\Desktop\femr-master\pitest-command-line-
1.2.4.jar;C:\Users\TZ\Desktop\femr-master\pitest-
1.2.4.jar;C:\Users\TZ\Desktop\femr-master\pitest-entry-
1.2.4.jar;C:\Users\TZ\Desktop\femr-master\junit-
4.12.jar;C:\Users\TZ\Desktop\batch-import-3.0\target\batch-import-
3.0.4.jar;C:\Users\TZ\Desktop\femr-
master\xmlpull_1_0_5.jar;C:\Users\TZ\Desktop\femr-master\xstream-1.4.10.jar
org.pitest.mutationtest.commandline.MutationCoverageReport --reportDir
C:\Users\TZ\Desktop --targetClasses org.neo4j.batchimport.* --targetTests
org.neo4j.batchimport.* --sourceDirs C:\Users\TZ\Desktop\batch-import-
3.0\src
输出:
6:07:23 PM PIT >> INFO : Verbose logging is disabled. If you encounter an
problem please enable it before reporting an issue.
6:07:23 PM PIT >> INFO : Sending 0 test classes to minion
6:07:23 PM PIT >> INFO : Sent tests to minion
6:07:23 PM PIT >> INFO : Calculated coverage in 0 seconds.
6:07:23 PM PIT >> INFO : Created 0 mutation test units
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 http://pitest.org for more details.
我想知道为什么过滤器不正确。我真的把我所有的东西都放在了 CP 上,并尝试了 targetClasses/testClasses with star * 或特定的 class 路径。
谢谢!
Pitest 变异已编译的字节码,而不是源文件。
您看起来没有在类路径中包含编译后的代码 - 只有它的依赖项。
强烈建议使用其中一种构建集成(maven、gradle、ant)而不是命令行工具,因为这样更不容易出错。
C:\Users\TZ>java -cp C:\Users\TZ\Desktop\femr-master\pitest-command-line-
1.2.4.jar;C:\Users\TZ\Desktop\femr-master\pitest-
1.2.4.jar;C:\Users\TZ\Desktop\femr-master\pitest-entry-
1.2.4.jar;C:\Users\TZ\Desktop\femr-master\junit-
4.12.jar;C:\Users\TZ\Desktop\batch-import-3.0\target\batch-import-
3.0.4.jar;C:\Users\TZ\Desktop\femr-
master\xmlpull_1_0_5.jar;C:\Users\TZ\Desktop\femr-master\xstream-1.4.10.jar
org.pitest.mutationtest.commandline.MutationCoverageReport --reportDir
C:\Users\TZ\Desktop --targetClasses org.neo4j.batchimport.* --targetTests
org.neo4j.batchimport.* --sourceDirs C:\Users\TZ\Desktop\batch-import-
3.0\src
输出:
6:07:23 PM PIT >> INFO : Verbose logging is disabled. If you encounter an
problem please enable it before reporting an issue.
6:07:23 PM PIT >> INFO : Sending 0 test classes to minion
6:07:23 PM PIT >> INFO : Sent tests to minion
6:07:23 PM PIT >> INFO : Calculated coverage in 0 seconds.
6:07:23 PM PIT >> INFO : Created 0 mutation test units
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 http://pitest.org for more details.
我想知道为什么过滤器不正确。我真的把我所有的东西都放在了 CP 上,并尝试了 targetClasses/testClasses with star * 或特定的 class 路径。
谢谢!
Pitest 变异已编译的字节码,而不是源文件。
您看起来没有在类路径中包含编译后的代码 - 只有它的依赖项。
强烈建议使用其中一种构建集成(maven、gradle、ant)而不是命令行工具,因为这样更不容易出错。