externalMochaAdapter
Implements
Index
Constructors
Methods
Constructors
externalconstructor
Parameters
externalconfig: MochaConfig
externalloader: ModuleLoader
Returns MochaAdapter
Methods
externalsuccessThreshold
Scenario success threshold for this test runner.
Returns Outcome | { Code: number }
externalload
Loads test scenarios.
Parameters
externalpathsToScenarios: string[]
Returns Promise<void>
externalscenarioCount
Returns the number of loaded scenarios
Returns number
externalrun
Runs loaded test scenarios.
Returns Promise<void>
Allows for programmatic execution of Mocha test scenarios, using
SerenityReporterForMocha
to report progress.Learn more
TestRunnerAdapter