CucumberCLIAdapter
Implements
- TestRunnerAdapter
Index
Constructors
Methods
Constructors
constructor
Parameters
config: CucumberConfig
loader: ModuleLoader
fileSystem: FileSystem
output: SerenityFormatterOutput
Returns CucumberCLIAdapter
Methods
successThreshold
Scenario success threshold for this test runner, calculated based on CucumberConfig
Returns Outcome | { Code: number }
load
Loads feature files.
Parameters
pathsToScenarios: string[]
Absolute or relative paths to feature files
Returns Promise<void>
scenarioCount
Returns the number of loaded scenarios
Returns number
run
Instructs Cucumber to execute feature files located at
pathsToScenarios
Returns Promise<void>
Allows for programmatic execution of Cucumber test scenarios.
Learn more