Christian
2014-05-29 13:56:25 UTC
Hi,
Given someone has added the following:
@Cucumber.Options(
format = {"pretty", "html:target/cucumber", "json:target/cucumber.json"},
tags = "@myTag",
features = "src/test/resources/features" )
Is there a way to make sure all scenarios are executed when running maven
via a command line, e.g. on a continuous integration platform, like the
following:
mvn clean test -Dcucumber.options="src/test/resources/features --tags @myTest"
Put differently, is there a command line option to force cucumber to
"execute all features", e.g. using something like
mvn clean test -Dcucumber.options="src/test/resources/features --tags "
And am I correct in assuming
--tags ~@doNotRunMe
will execute all tags except the one mentioned?
If so, would
--tags ~@nonexistantTag
achieve what I'm after?
Thanks,
Christian
P.S.: I'm cross-posting this from stackoverflow; for some reason I posted
it there before being told to come here...
http://stackoverflow.com/questions/23934915/make-cucumber-jvm-run-all-tests-on-continuous-integration-platform-when-kicked-o
Given someone has added the following:
@Cucumber.Options(
format = {"pretty", "html:target/cucumber", "json:target/cucumber.json"},
tags = "@myTag",
features = "src/test/resources/features" )
Is there a way to make sure all scenarios are executed when running maven
via a command line, e.g. on a continuous integration platform, like the
following:
mvn clean test -Dcucumber.options="src/test/resources/features --tags @myTest"
Put differently, is there a command line option to force cucumber to
"execute all features", e.g. using something like
mvn clean test -Dcucumber.options="src/test/resources/features --tags "
And am I correct in assuming
--tags ~@doNotRunMe
will execute all tags except the one mentioned?
If so, would
--tags ~@nonexistantTag
achieve what I'm after?
Thanks,
Christian
P.S.: I'm cross-posting this from stackoverflow; for some reason I posted
it there before being told to come here...
http://stackoverflow.com/questions/23934915/make-cucumber-jvm-run-all-tests-on-continuous-integration-platform-when-kicked-o
--
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.