TestOptions

Extends \io\vertx\jphp\ext\unit\report\ReportingOptions

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 @see \io\vertx\jphp\core\Vertx::currentContext) otherwise run without
  • the reporters is an array of reporter configurations
package

Default

Methods

ReportingOptions constructor

__construct( $reportingOptions = null) 
inherited

Arguments

$reportingOptions

mixed | null

addReporter

addReporter( $reporters) : $this
inherited

Arguments

$reporters

ReportOptions|array

Response

$this

getReporters

getReporters() : array
inherited

Response

array

getTimeout

getTimeout() : integer

Response

integer

isUseEventLoop

isUseEventLoop() : boolean

Response

boolean

setReporters

setReporters( $reporters) : $this
inherited

Arguments

$reporters

ReportOptions|array

Response

$this

setTimeout

setTimeout( $timeout) : $this

Arguments

$timeout

integer

Response

$this

setUseEventLoop

setUseEventLoop( $useEventLoop) : $this

Arguments

$useEventLoop

boolean

Response

$this