vertx / io.vertx.ext.unit.report / ReportingOptions

# ReportingOptions

`open class ReportingOptions`

Reporting options:

- the `reporters` is an array of reporter configurations

Author
Julien Viet

### Constructors

<init> | `ReportingOptions()` Create a new empty options, with the default address out and no reporters. `ReportingOptions(other: ReportingOptions)` Copy constructor. `ReportingOptions(json: JsonObject)` Create a new options from the specified json.

### Functions

addReporter | `open fun addReporter(reportOptions: ReportOptions): ReportingOptions` Add a reporter to the current list.
getReporters | `open fun getReporters(): MutableList<ReportOptions>`
setReporters | `open fun setReporters(reporters: MutableList<ReportOptions>): ReportingOptions` Replace the current list of reporters with a new one.
toJson | `open fun toJson(): JsonObject`

### Inheritors

TestOptions | `open class TestOptions : ReportingOptions` Test execution options: the `timeout` in milliseconds, the default value is 2 minutes the `useEventLoop` configures the event loop usage `true` always runs with an event loop `false` never runs with an event loop `null` uses an event loop if there is one (provided by `io.vertx.core.Vertx#currentContext()`) otherwise run without the `reporters` is an array of reporter configurations