Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TestOptions

Test execution options:

  • the timeout in milliseconds, the default value is 2 minutes
  • the useEventLoop
  • configures the event loop usage
    • true always runs with an event loop
    • false never runs with an event loop
    • null uses an event loop if there is one (provided by {@link Vertx#currentContext}) otherwise run without
  • the reporters is an array of reporter configurations

Hierarchy

Index

Constructors

constructor

Methods

addReporter

getReporters

getTimeout

  • getTimeout(): number
  • Set the test timeout.

    Returns number

isUseEventLoop

  • isUseEventLoop(): boolean
  • Configure the execution to use an event loop when there is no one existing.

    Returns boolean

setReporters

setTimeout

  • Set the test timeout.

    Parameters

    • timeout: number

    Returns TestOptions

setUseEventLoop

  • Configure the execution to use an event loop when there is no one existing.

    Parameters

    • useEventLoop: boolean

    Returns TestOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc