feat: PIT report added

This commit is contained in:
2026-04-14 02:01:30 +02:00
parent f183ee96e2
commit 3c3f3b4312
2 changed files with 28 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ plugins {
id 'application'
id 'pmd'
id 'jacoco'
id 'info.solidsoft.pitest' version '1.19.0'
id 'com.palantir.git-version' version '4.0.0'
}
@@ -78,6 +79,27 @@ tasks.named('check') {
dependsOn(tasks.named('jacocoTestReport'))
}
pitest {
pitestVersion = '1.22.1'
junit5PluginVersion = '1.2.3'
targetClasses = [
'org.egothor.stemmer.*',
'org.egothor.stemmer.trie.*'
]
targetTests = [
'org.egothor.stemmer.*Test',
'org.egothor.stemmer.trie.*Test'
]
excludedClasses = ['org.egothor.stemmer.Compile']
outputFormats = ['XML', 'HTML']
timestampedReports = false
exportLineCoverage = true
failWhenNoMutations = true
threads = Math.max(1, Runtime.runtime.availableProcessors().intdiv(2))
}
application {
mainClass = 'org.egothor.stemmer.Compile'
}