Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TestResult

The result of a test.

Hierarchy

  • TestResult

Index

Methods

beginTime

  • beginTime(): number
  • The time at which the test began in millis.

    Returns number

durationTime

  • durationTime(): number
  • How long the test lasted in millis.

    Returns number

failed

  • failed(): boolean
  • Did it fail?

    Returns boolean

failure

  • An exception describing failure, null if the test succeeded.

    Returns Failure

name

  • name(): string
  • The test description, may be null if none was provided.

    Returns string

succeeded

  • succeeded(): boolean
  • Did it succeed?

    Returns boolean

Generated using TypeDoc