Skip to content

Commit

Permalink
DFPL-11819- merge-to-master (#4956)
Browse files Browse the repository at this point in the history
Co-authored-by: gauravchawla <gaurav-chawla@hotmail.com>
  • Loading branch information
GauravChawlaMOJ and gauravchawla authored Nov 29, 2023
1 parent 8a4c9e3 commit 1a13656
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile_nightly
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ withNightlyPipeline(type, product, component) {

loadVaultSecrets(integrationTestSecrets)

//enableMutationTest()
enableMutationTest()
enableFullFunctionalTest(240)
// 'microsoft' and 'safari' to be returned to crossbrowser tests once FPLA-3172 improvements are complete
//enableCrossBrowserTest(['chrome', 'firefox'])
Expand All @@ -90,7 +90,7 @@ withNightlyPipeline(type, product, component) {
setupSecretsForIntegrationTests(pipelineConf)
}

after('mutationTest') {
afterAlways('mutationTest') {
archiveExtraFilesForIntegrationTests()
teardownSecretsForIntegrationTests()
}
Expand Down
24 changes: 7 additions & 17 deletions service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -445,27 +445,17 @@ integration {
}

pitest {
targetClasses = ['uk.gov.hmcts.reform.fpl.*']
pitestVersion = '1.15.0'
threads = 16
outputFormats = ['XML', 'HTML']
timestampedReports = false
excludedClasses = [
targetClasses.set(['uk.gov.hmcts.reform.fpl.*'])
threads.set(15)
outputFormats.set(['XML', 'HTML'])
excludedClasses.set([
'uk.gov.hmcts.reform.fpl.config.*',
'uk.gov.hmcts.reform.fpl.exceptions.*',
'uk.gov.hmcts.reform.fpl.controllers.*',
'uk.gov.hmcts.reform.fpl.testingsupport.*'
]
junit5PluginVersion = '1.1.1'
logger.lifecycle("Runs PIT mutation Tests")
testSourceSets = [sourceSets.test]
mainSourceSets = [sourceSets.main]
enableDefaultIncrementalAnalysis = true
outputFormats = ['XML', 'HTML']
timestampedReports = true
mutationThreshold = 85
detectInlinedCode = true
timeoutConstInMillis = 30000
])
timestampedReports.set(true)
mutationThreshold.set(75)
}

dependencyManagement {
Expand Down

0 comments on commit 1a13656

Please sign in to comment.