Skip to content
Snippets Groups Projects
Commit e5159f6a authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

move test tasks

parent a6be245c
No related branches found
No related tags found
2 merge requests!681Production Release | nshmp-haz,!680NSHM Unit Tests
......@@ -54,7 +54,9 @@ tasks.withType(JavaCompile) {
}
tasks.withType(JavaExec) {
dependsOn downloadNshms
// CONUS 2018 is the default model used for web serivces
// See src/main/resources/application.yml
dependsOn conus2018
jvmArgs(
'-noverify',
'-Xms2g',
......@@ -74,52 +76,10 @@ tasks.withType(com.github.spotbugs.snom.SpotBugsTask) {
}
}
tasks.withType(Test) {
dependsOn downloadNshms
}
test {
useJUnitPlatform()
filter {
excludeTestsMatching "gov.usgs.earthquake.nshmp.model.NshmTests*"
}
}
task testConus2018(type: Test) {
description = "Test CONUS 2018 NSHM"
group = "verification"
testLogging {
exceptionFormat "full"
}
useJUnitPlatform()
jvmArgs(
"-Xms2g",
"-Xmx8g",
)
filter {
includeTestsMatching "gov.usgs.earthquake.nshmp.model.NshmTestsConus2018"
}
}
task testHawaii2021(type: Test) {
description = "Test Hawaii 2021 NSHM"
group = "verification"
testLogging {
exceptionFormat "full"
}
useJUnitPlatform()
jvmArgs(
"-Xms2g",
"-Xmx8g",
)
filter {
includeTestsMatching "gov.usgs.earthquake.nshmp.model.NshmTestsHawaii2021"
excludeTestsMatching "gov.usgs.earthquake.nshmp.model.NshmTests"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment