dougnoel / sentinel.example

An example project that uses the compiled sentinel jar file for testing.
Apache License 2.0
0 stars 3 forks source link

Document Cucumber Options #35

Open dougnoel opened 4 years ago

dougnoel commented 4 years ago

From https://cucumber.io/docs/cucumber/api/

List configuration options You can list the options available for the Cucumber version you are using.

Pass the --help option to print out all the available configuration options:

java cucumber.api.cli.Main --help You can also use tags to specify what to run.

Configuration options can also be overridden and passed to any of the runners via the cucumber.options Java system property.

For example, if you are using Maven and want to run a subset of scenarios tagged with @smoke:

mvn test -Dcucumber.filter.tags="@smoke" Some of the runners provide additional mechanisms for passing options to Cucumber.