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

  • TestOptions

Index

Constructors

constructor

  • Returns TestOptions

  • Parameters

    Returns TestOptions

Methods

addReporter

  • Replace the current list of reporters with a new one.

    Parameters

    Returns TestOptions

getReporters

  • Replace the current list of reporters with a new one.

    Returns ReportOptions

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

  • Replace the current list of reporters with a new one.

    Parameters

    Returns TestOptions

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

Generated using TypeDoc