Package io.cucumber.plugin
Interface EventListener
- All Superinterfaces:
Plugin
Listens to pickle execution events. Can be used to implement reporters.
When cucumber executes test in parallel or in a framework that supports
parallel execution (e.g. JUnit or TestNG)
Event
s are stored and published in canonical
order after the test run has completed.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setEventPublisher
(EventPublisher publisher) Set the event publisher.
-
Method Details
-
setEventPublisher
Set the event publisher. The plugin can register event listeners with the publisher.- Parameters:
publisher
- the event publisher
-