Class Constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Property name used to disable ansi colors in the output (not supported by all terminals): "cucumber.ansi-colors.disabled"static final String
File name of cucumber properties file: "cucumber.properties"static final String
Property name used to enable dry-run: "cucumber.execution.dry-run"static final String
Property name used to limit the number of executed scenarios : "cucumber.execution.limit"static final String
Property name used to set execution order: "cucumber.execution.order"static final String
Property name used to select features: "cucumber.features"static final String
Property name used to set name filter: "cucumber.filter.name"static final String
Property name used to set tag filter: "cucumber.filter.tags"static final String
Property name to set the glue path: "cucumber.glue"static final String
Property name used to select a specific object factory implementation: "cucumber.object-factory"static final String
Property name to enable plugins: "cucumber.plugin"static final String
Property name to enable publishing cucumber reports: "cucumber.publish.enabled"static final String
Property name to set the proxy used to publish cucumber reports .static final String
Property name to suppress publishing advertising banner: "cucumber.publish.quiet"static final String
Property name to publish cucumber reports with bearer token: "cucumber.publish.token"static final String
Property name to override the cucumber reports publish uri: "cucumber.publish.url"static final String
Property name to control naming convention for generated snippets: "cucumber.snippet-type"static final String
Property name used to select a specific UUID generator implementation: "cucumber.uuid-generator"static final String
Property name used to enable wip execution: "cucumber.execution.wip" -
Method Summary
-
Field Details
-
ANSI_COLORS_DISABLED_PROPERTY_NAME
Property name used to disable ansi colors in the output (not supported by all terminals): "cucumber.ansi-colors.disabled"Ansi colors are enabled by default.
- See Also:
-
CUCUMBER_PROPERTIES_FILE_NAME
File name of cucumber properties file: "cucumber.properties"- See Also:
-
EXECUTION_DRY_RUN_PROPERTY_NAME
Property name used to enable dry-run: "cucumber.execution.dry-run"When using dry run Cucumber will skip execution of glue code.
By default, dry-run is disabled
- See Also:
-
EXECUTION_LIMIT_PROPERTY_NAME
Property name used to limit the number of executed scenarios : "cucumber.execution.limit"Limits the number of scenarios to be executed to a specific amount.
By default scenarios are executed.
- See Also:
-
EXECUTION_ORDER_PROPERTY_NAME
Property name used to set execution order: "cucumber.execution.order"Valid values are
lexical
,reverse
,random
orrandom:[seed]
.By default features are executed in lexical file name order
- See Also:
-
WIP_PROPERTY_NAME
Property name used to enable wip execution: "cucumber.execution.wip"When using wip execution Cucumber will fail if there are any passing scenarios.
By default, wip execution is disabled
- See Also:
-
FEATURES_PROPERTY_NAME
Property name used to select features: "cucumber.features"A comma separated list of feature paths. A feature path is constructed as
[ PATH[.feature[:LINE]*] | URI[.feature[:LINE]*] | @PATH ]
Examples:
src/test/resources/features
-- All features in thesrc/test/resources/features
directoryclasspath:com/example/application
-- All features in thecom.example.application
packagein-memory:/features
-- All features in the/features
directory on an in memory file system supported byFileSystems
src/test/resources/features/example.feature:42
-- The scenario or example at line 42 in the example feature file@target/rerun
-- All the scenarios in the files in the rerun directory@target/rerun/RunCucumber.txt
-- All the scenarios in RunCucumber.txt file
- See Also:
-
FILTER_NAME_PROPERTY_NAME
Property name used to set name filter: "cucumber.filter.name"Filters scenarios by name based on the provided regex pattern e.g:
^Hello (World|Cucumber)$
. Scenarios that do not match the expression are not executed.By default all scenarios are executed
- See Also:
-
FILTER_TAGS_PROPERTY_NAME
Property name used to set tag filter: "cucumber.filter.tags"Filters scenarios by tag based on the provided tag expression e.g:
@Cucumber and not (@Gherkin or @Zucchini)
. Scenarios that do not match the expression are not executed.By default all scenarios are executed
- See Also:
-
GLUE_PROPERTY_NAME
Property name to set the glue path: "cucumber.glue"A comma separated list of a classpath uri or package name e.g.:
com.example.app.steps
.- See Also:
-
OBJECT_FACTORY_PROPERTY_NAME
Property name used to select a specific object factory implementation: "cucumber.object-factory" -
UUID_GENERATOR_PROPERTY_NAME
Property name used to select a specific UUID generator implementation: "cucumber.uuid-generator" -
PLUGIN_PROPERTY_NAME
Property name to enable plugins: "cucumber.plugin"A comma separated list of
[PLUGIN[:PATH_OR_URL]]
e.g:json:target/cucumber.json
.Built-in formatter PLUGIN types:
- html
- pretty
- progress
- summary
- json
- usage
- rerun
- junit
- testng
PLUGIN
can also be a fully qualified class name, allowing registration of 3rd party plugins.- See Also:
-
PLUGIN_PUBLISH_ENABLED_PROPERTY_NAME
Property name to enable publishing cucumber reports: "cucumber.publish.enabled"Enabling this will publish test results online.
Valid values are
true
,false
.- See Also:
-
PLUGIN_PUBLISH_TOKEN_PROPERTY_NAME
Property name to publish cucumber reports with bearer token: "cucumber.publish.token"Enabling this will publish authenticated test results online.
- See Also:
-
PLUGIN_PUBLISH_URL_PROPERTY_NAME
Property name to override the cucumber reports publish uri: "cucumber.publish.url"Note that setting this property is not sufficient to activate publishing.
- See Also:
-
PLUGIN_PUBLISH_PROXY_PROPERTY_NAME
Property name to set the proxy used to publish cucumber reports .Note that setting this property is not sufficient to activate publishing.
- See Also:
-
PLUGIN_PUBLISH_QUIET_PROPERTY_NAME
Property name to suppress publishing advertising banner: "cucumber.publish.quiet"Valid values are
true
,false
.- See Also:
-
SNIPPET_TYPE_PROPERTY_NAME
Property name to control naming convention for generated snippets: "cucumber.snippet-type"Valid values are
underscore
orcamelcase
.By defaults are generated using the under score naming convention.
- See Also:
-