vertx / io.vertx.ext.unit.report / TestSuiteReport

TestSuiteReport

interface TestSuiteReport : ReadStream<TestCaseReport>

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

Author
Julien Viet

Functions

endHandler

abstract fun endHandler(endHandler: Handler<Void>): TestSuiteReport

exceptionHandler

abstract fun exceptionHandler(handler: Handler<Throwable>): TestSuiteReport

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

handler

abstract fun handler(handler: Handler<TestCaseReport>): TestSuiteReport

name

abstract fun name(): String

pause

abstract fun pause(): TestSuiteReport

resume

abstract fun resume(): TestSuiteReport