Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TestSuiteReport

The test suite reports is basically a stream of events reporting the test suite execution.

Hierarchy

  • TestSuiteReport

Implements

  • any

Index

Methods

endHandler

  • endHandler(endHandler: ((res: void) => void) | Handler<void> | null | undefined): TestSuiteReport
  • Parameters

    • endHandler: ((res: void) => void) | Handler<void> | null | undefined

    Returns TestSuiteReport

exceptionHandler

  • exceptionHandler(handler: ((res: Throwable) => void) | Handler<Throwable> | null | undefined): TestSuiteReport
  • Set an exception handler, the exception handler reports the test suite errors, it can be called mulitple times before the test ends.

    Parameters

    • handler: ((res: Throwable) => void) | Handler<Throwable> | null | undefined

    Returns TestSuiteReport

fetch

  • Parameters

    • arg0: number

    Returns ReadStream<TestCaseReport>

handler

name

  • name(): string
  • Returns string

pause

  • Returns TestSuiteReport

pipe

  • Returns Pipe<TestCaseReport>

pipeTo

  • pipeTo(dst: WriteStream<TestCaseReport>): PromiseLike<void>
  • pipeTo(dst: WriteStream<TestCaseReport>, handler: ((res: AsyncResult<void>) => void) | Handler<AsyncResult<void>>): void
  • Parameters

    Returns PromiseLike<void>

  • Parameters

    • dst: WriteStream<TestCaseReport>
    • handler: ((res: AsyncResult<void>) => void) | Handler<AsyncResult<void>>

    Returns void

resume

  • Returns TestSuiteReport

Generated using TypeDoc