public class SerenityReporter extends Object implements io.cucumber.plugin.Plugin, io.cucumber.plugin.ConcurrentEventListener
| Constructor and Description |
|---|
SerenityReporter()
Constructor automatically called by cucumber when class is specified as plugin
in @CucumberOptions.
|
SerenityReporter(Configuration systemConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected Optional<io.cucumber.messages.types.Feature> |
featureFrom(URI featureFileUri) |
List<TestOutcome> |
getAllTestOutcomes() |
protected io.cucumber.core.plugin.ScenarioContext |
getContext() |
protected void |
handleTestCaseFinished(io.cucumber.plugin.event.TestCaseFinished event) |
protected void |
handleTestCaseStarted(io.cucumber.plugin.event.TestCaseStarted event) |
protected void |
handleTestRunFinished(io.cucumber.plugin.event.TestRunFinished event) |
protected void |
handleTestRunStarted(io.cucumber.plugin.event.TestRunStarted event) |
protected void |
handleTestSourceRead(io.cucumber.plugin.event.TestSourceRead event) |
protected void |
handleTestStepFinished(io.cucumber.plugin.event.TestStepFinished event) |
protected void |
handleTestStepStarted(io.cucumber.plugin.event.TestStepStarted event) |
protected void |
handleWrite(io.cucumber.plugin.event.WriteEvent event) |
void |
setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher) |
public SerenityReporter()
public SerenityReporter(Configuration systemConfiguration)
protected io.cucumber.core.plugin.ScenarioContext getContext()
protected void handleTestRunStarted(io.cucumber.plugin.event.TestRunStarted event)
public void setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher)
setEventPublisher in interface io.cucumber.plugin.ConcurrentEventListenerprotected void handleTestSourceRead(io.cucumber.plugin.event.TestSourceRead event)
protected void handleTestCaseStarted(io.cucumber.plugin.event.TestCaseStarted event)
protected void handleTestCaseFinished(io.cucumber.plugin.event.TestCaseFinished event)
protected void handleTestStepStarted(io.cucumber.plugin.event.TestStepStarted event)
protected void handleWrite(io.cucumber.plugin.event.WriteEvent event)
protected void handleTestStepFinished(io.cucumber.plugin.event.TestStepFinished event)
protected void handleTestRunFinished(io.cucumber.plugin.event.TestRunFinished event)
public List<TestOutcome> getAllTestOutcomes()
Copyright © 2023. All rights reserved.