Package io.cucumber.core.options
Class CucumberProperties
- java.lang.Object
-
- io.cucumber.core.options.CucumberProperties
-
public final class CucumberProperties extends Object
Store properties.Cucumber can read properties from file, environment or system properties.
Cucumber properties are formatted using kebab-case. E.g.
cucumber.snippet-type
. To facilitate environments that do no support kebab case properties can also be formatted (in order of preference) using upper snake case e.g.CUCUMBER_SNIPPET_TYPE
or lower snake case e.g.cucumber_snippet_type
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,String>
create()
static Map<String,String>
fromEnvironment()
static Map<String,String>
fromPropertiesFile()
static Map<String,String>
fromSystemProperties()
-