Exclude smoke test by default

This commit is contained in:
Janne Valkealahti
2019-12-24 17:06:57 +00:00
parent 10ce7a65a4
commit 3d71c9606e

View File

@@ -116,11 +116,15 @@ configure(allprojects) {
test {
useJUnitPlatform {
if (project.hasProperty('statemachineIncludeTags') && statemachineIncludeTags.size() > 0) {
includeTags = statemachineIncludeTags.split(',')
}
if (project.hasProperty('statemachineExcludeTags') && statemachineExcludeTags.size() > 0) {
excludeTags = statemachineExcludeTags.split(',')
if (!project.hasProperty('statemachineIncludeTags') && !project.hasProperty('statemachineExcludeTags')) {
excludeTags = ['smoke']
} else {
if (project.hasProperty('statemachineIncludeTags') && statemachineIncludeTags.size() > 0) {
includeTags = statemachineIncludeTags.split(',')
}
if (project.hasProperty('statemachineExcludeTags') && statemachineExcludeTags.size() > 0) {
excludeTags = statemachineExcludeTags.split(',')
}
}
}
exclude '**/*IntegrationTests.*'