externalCucumberCLIAdapter
Implements
Index
Constructors
Methods
Constructors
externalconstructor
Parameters
externalconfig: CucumberConfig
externalloader: ModuleLoader
externalfileSystem: FileSystem
externaloutput: SerenityFormatterOutput
Returns CucumberCLIAdapter
Methods
externalsuccessThreshold
Scenario success threshold for this test runner, calculated based on
CucumberConfig
Returns Outcome | { Code: number }
externalload
Loads feature files.
Parameters
externalpathsToScenarios: string[]
Absolute or relative paths to feature files
Returns Promise<void>
externalscenarioCount
Returns the number of loaded scenarios
Returns number
externalrun
Instructs Cucumber to execute feature files located at
pathsToScenarios
Returns Promise<void>
Allows for programmatic execution of Cucumber test scenarios.
Learn more
TestRunnerAdapter