Skip to main content

externalTestRunnerAdapter

Describes an adapter needed to run a given type of tests programmatically

Index

Methods

externalload

  • load(pathsToScenarios: string[]): Promise<void>
  • Loads test scenarios.


    Parameters

    • externalpathsToScenarios: string[]

    Returns Promise<void>

externalscenarioCount

  • scenarioCount(): number
  • Returns the number of loaded scenarios

    @throws

    LogicError If called before load


    Returns number

externalrun

  • run(): Promise<void>
  • Runs loaded test scenarios.

    @throws

    LogicError If called before load


    Returns Promise<void>

externalsuccessThreshold

  • successThreshold(): Outcome | { Code: number }
  • Scenario success threshold for this test runner.


    Returns Outcome | { Code: number }