Skip to main content

externalJasmineAdapter

Allows for programmatic execution of Jasmine test scenarios, using SerenityReporterForJasmine to report progress.

Learn more

Implements

Index

Constructors

externalconstructor

Methods

externalsuccessThreshold

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


    Returns Outcome | { Code: number }

externalload

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


    Parameters

    • externalpathsToScenarios: string[]

    Returns Promise<void>

externalscenarioCount

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


    Returns number

externalrun

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


    Returns Promise<void>