0

という1行だけのテキストファイルを含む「mutant」フォルダーがありますjava.utils.Collection。Randoop を使用してテスト ケースを生成し、同じフォルダーに保存しました。テスト ケースの名前は RegressionTest*.java です。現在、PIT を実行してミュータントを生成しようとしています。http://pitest.org/quickstart/commandline/に従って入力しているコマンドは次のとおりです---

    java -cp C:\Users\happy\OneDrive\Desktop\pitest-1.4.3.jar;C:\Users\happy\OneDrive\Desktop\pitest-command-line-1.4.3.jar;C:\Users\happy\OneDrive\Desktop\pitest-entry-1.4.3.jar;C:\Users\happy\OneDrive\Desktop\junit-4.10.jar;C:\Users\happy\OneDrive\Desktop\testng-6.8.5.jar 

org.pitest.mutationtest.commandline.MutationCoverageReport 
--reportDir C:\Users\happy\OneDrive\Desktop\report 
--targetClasses myclasses.* 
--targetTests mutant.Regression* 
--sourceDirs C:\Users\happy\OneDrive\Desktop\mutant

そして私が得ているエラーは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

問題は targetClasses に関連していると思います。誰でも何か考えがありますか?

4

1 に答える 1