externalTestRunnerLoader
Index
Constructors
Methods
Constructors
externalconstructor
Parameters
externalcwd: Path
Current working directory; used to resolve glob paths to files for Cucumber.js to
require
, and instructing Serenity/JS where to look for this module's optional dependencies, like@serenity-js/cucumber
,@serenity-js/mocha
,@serenity-js/jasmine
, etc.externalrunnerId: string | number
Unique identifier used to differentiate output files produced by native Cucumber.js formatters. For example,
process.pid
Returns TestRunnerLoader
Methods
externalforJasmine
See
JasmineConfig
Parameters
externaljasmineNodeOpts: object
Returns TestRunnerAdapter
externalforMocha
See
MochaConfig
Parameters
externalmochaOpts: object
Returns TestRunnerAdapter
externalforCucumber
See
CucumberConfig
Parameters
externalcucumberOpts: object
externaladapterConfig: CucumberAdapterConfig
Returns TestRunnerAdapter
Loads a
TestRunnerAdapter
needed to invoke the chosen test runner programmatically.