vertx / io.vertx.ext.unit.report / Reporter

# Reporter

`interface Reporter<R : Any>`

The reporter defines a set of callback for the life cycle events.

### Parameters

`` - the report generic type

Author
Julien Viet

### Properties

factory | `static val factory: ReporterFactory`

### Functions

reportBeginTestCase | `abstract fun reportBeginTestCase(report: R, name: String): Unit` Signals a test case began.
reportBeginTestSuite | `abstract fun reportBeginTestSuite(name: String): R` Signals the test suite began.
reportEndTestCase | `abstract fun reportEndTestCase(report: R, name: String, result: TestResult): Unit` Signals a test case ended.
reportEndTestSuite | `abstract fun reportEndTestSuite(report: R): Unit` Signals a test suite ended.
reportError | `abstract fun reportError(report: R, err: Throwable): Unit` Report a global test suite error, it can be called mulitple times between the `#reportBeginTestSuite` and the `#reportEndTestSuite`.
reporter | `open static fun reporter(vertx: Vertx, options: ReportOptions): Reporter<*>`