Skip to main content

externalTestRunnerLoader

Loads a TestRunnerAdapter needed to invoke the chosen test runner programmatically.

Index

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

externalforMocha

externalforCucumber