vertx / io.vertx.ext.unit.report / TestResult

TestResult

interface TestResult

The result of a test.

Author
Julien Viet

Functions

beginTime

abstract fun beginTime(): Long

The time at which the test began in millis.

durationTime

abstract fun durationTime(): Long

How long the test lasted in millis.

failed

abstract fun failed(): Boolean

Did it fail?

failure

abstract fun failure(): Failure

An exception describing failure, null if the test succeeded.

name

abstract fun name(): String

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

succeeded

abstract fun succeeded(): Boolean

Did it succeed?