TestSuiteReport

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

package

Default

Methods

__construct

__construct() 

endHandler

endHandler( $arg0) : $this

Arguments

$arg0

callable

Response

$this

Set an exception handler, the exception handler reports the test suite errors, it can be called mulitple times before the test ends.

exceptionHandler( $arg0) : $this

Arguments

$arg0

callable

Response

$this

a reference to this, so the API can be used fluently

Fetch the specified <code>amount</code> of elements. If the <code>ReadStream</code> has been paused, reading will recommence with the specified <code>amount</code> of items, otherwise the specified <code>amount</code> will be added to the current stream demand.

fetch( $arg0) : $this

Arguments

$arg0

integer

Response

$this

a reference to this, so the API can be used fluently

handler

handler( $arg0) : $this

Arguments

$arg0

callable

Response

$this

name

name() : string

Response

string

the test suite name

pause

pause() : $this

Response

$this

resume

resume() : $this

Response

$this