The event bus collector listen to events on the Vert.x event bus and translate them into reports.
| Constructor and description |
|---|
EventBusCollector
(Object delegate) |
| Type | Name and description |
|---|---|
static EventBusCollector |
create(Vertx vertx, Map<String, Object> options)Create a message handler reporting with the specified options. |
static EventBusCollector |
create(Vertx vertx, Handler<TestSuiteReport> reporter) |
Object |
getDelegate() |
MessageConsumer |
register(String address)Register the collector as a consumer of the event bus with the specified address. |
Create a message handler reporting with the specified options. The returned message handler can be registered to an event bus.
options - the reporting options (see ReportingOptions)Register the collector as a consumer of the event bus with the specified address.
address - the registration addressio.vertx:vertx-unit:3.1.0