I am running a maven project in Eclipse for my Cucumber tests. My test runner class looks like this:
@RunWith(Cucumber.class) @CucumberOptions( tags
You can use the cucumber.options environmental variable to specify the tags at runtime
cucumber.options
mvn -D"cucumber.options=--tags @Other,@Now" test
This supercedes the tags already contained in the test code.