TestResult

The result of a test.

package

Default

Methods

__construct

__construct() 

The time at which the test began in millis.

beginTime() : integer

Response

integer

How long the test lasted in millis.

durationTime() : integer

Response

integer

Did it fail?

failed() : boolean

Response

boolean

An exception describing failure, null if the test succeeded.

failure() : \io\vertx\jphp\ext\unit\report\Failure

The test description, may be null if none was provided.

name() : string

Response

string

Did it succeed?

succeeded() : boolean

Response

boolean