Java 失败时如何从PIT突变分析中动态排除测试
我正在使用过去两周的PIT突变。我有一个gradle项目,其中包含2000多个用groovy和Junit编写的测试用例。当我对这些测试用例执行PIT测试时,很少有测试失败,并且由于该报告没有生成PIT突变。是否有任何方法可以解析这些测试用例并为其余的测试用例生成报告? 我创建了以下任务来执行PITJava 失败时如何从PIT突变分析中动态排除测试,java,gradle-plugin,mutation-testing,Java,Gradle Plugin,Mutation Testing,我正在使用过去两周的PIT突变。我有一个gradle项目,其中包含2000多个用groovy和Junit编写的测试用例。当我对这些测试用例执行PIT测试时,很少有测试失败,并且由于该报告没有生成PIT突变。是否有任何方法可以解析这些测试用例并为其余的测试用例生成报告? 我创建了以下任务来执行PIT pitest { targetClasses = ['*'] targetTests = ['*'] testSourceSets = [sourceSets.tes
pitest {
targetClasses = ['*']
targetTests = ['*']
testSourceSets = [sourceSets.test]
mainSourceSets = [sourceSets.main]
threads = 4
outputFormats = ['HTML']
timestampedReports = false
useClasspathFile=true
}