Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventBusCollector

The event bus collector listen to events on the Vert.x event bus and translate them into reports.

Hierarchy

  • EventBusCollector

Index

Properties

Static Readonly EVENT_TEST_CASE_BEGIN

EVENT_TEST_CASE_BEGIN: string

Json type field value that signals a test case begins, used as part of the test reporting protocol for the event bus.

Static Readonly EVENT_TEST_CASE_END

EVENT_TEST_CASE_END: string

Json type field value that signals a test case ends, used as part of the test reporting protocol for the event bus.

Static Readonly EVENT_TEST_SUITE_BEGIN

EVENT_TEST_SUITE_BEGIN: string

Json type field value that signals a test suite begins, used as part of the test reporting protocol for the event bus.

Static Readonly EVENT_TEST_SUITE_END

EVENT_TEST_SUITE_END: string

Json type field value that signals a test suite ends, used as part of the test reporting protocol for the event bus.

Static Readonly EVENT_TEST_SUITE_ERROR

EVENT_TEST_SUITE_ERROR: string

Json type field value that reports a test suite error, used as part of the test reporting protocol for the event bus.

Methods

register

  • register(address: string): MessageConsumer<any>
  • Register the collector as a consumer of the event bus with the specified address.

    Parameters

    • address: string

    Returns MessageConsumer<any>

Static create

  • Create a message handler reporting with the specified options. The returned message handler can be registered to an event bus.

    Parameters

    Returns EventBusCollector

  • Parameters

    Returns EventBusCollector

Generated using TypeDoc