class Example { static void main(String[] args) { def testCaseTag = "@a or @b" def tag = "'(" + testCaseTag + ")'" testCaseTag = './gradlew -Dcucumber.options="--tags '+tag+'" test --refresh-dependencies' println(testCaseTag) } }
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more