Anthony Corsini
2014-06-05 07:37:33 UTC
Hi all,
I'm currently running my cucumber tests by invoking gradle script on Jenkins
task cucumber() {
dependsOn assemble, compileTestJava
doLast {
javaexec {
main = "cucumber.api.cli.Main"
jvmArgs = ["-Dcucumber.options=" + options]
environment "browser",browser
environment "platform",platform
classpath = configurations.cucumberRuntime +
sourceSets.main.output + sourceSets.test.output
args = ['-f', 'rerun', '-f', 'rerun:target/cucumber-rerun.txt',
'-f', 'json:target/cucumber.json', '--glue', 'com.foo.features.stepDefs',
'src/test/resources']
}
}
}
Everything is fine here but I'd like to rerun my failed tests from the same
build.
I'm not sure this is fully achievable but does anyone already faced the
problem and how did you manage this ?
I'm currently running my cucumber tests by invoking gradle script on Jenkins
task cucumber() {
dependsOn assemble, compileTestJava
doLast {
javaexec {
main = "cucumber.api.cli.Main"
jvmArgs = ["-Dcucumber.options=" + options]
environment "browser",browser
environment "platform",platform
classpath = configurations.cucumberRuntime +
sourceSets.main.output + sourceSets.test.output
args = ['-f', 'rerun', '-f', 'rerun:target/cucumber-rerun.txt',
'-f', 'json:target/cucumber.json', '--glue', 'com.foo.features.stepDefs',
'src/test/resources']
}
}
}
Everything is fine here but I'd like to rerun my failed tests from the same
build.
I'm not sure this is fully achievable but does anyone already faced the
problem and how did you manage this ?
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.