114 improve tags support in buildgradle (#115)
* Issue #114: Add better Windows support for tags * Issue #114: removing additional -Dtags arg
This commit is contained in:
parent
0c2c11e5e1
commit
b5b274f48e
10
build.gradle
10
build.gradle
|
@ -163,11 +163,13 @@ task testDataDictionary_1_7() {
|
|||
'html:' + certReportsDir + '/' + reportName + '.html',
|
||||
'--glue',
|
||||
'org.reso.certification.stepdefs#DataDictionary',
|
||||
'src/main/java/org/reso/certification/features/data-dictionary/v1-7-0',
|
||||
'--tags',
|
||||
(systemProperties.get('cucumber.filter.tags', '').toString().trim().length() > 0
|
||||
? systemProperties.get('cucumber.filter.tags') : '')
|
||||
'src/main/java/org/reso/certification/features/data-dictionary/v1-7-0'
|
||||
]
|
||||
|
||||
if (systemProperties.hasProperty('cucumber.filter.tags')) {
|
||||
args.add('--tags')
|
||||
args.add(systemProperties.get('cucumber.filter.tags').toString())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue