java.lang.Object
io.cucumber.core.plugin.SerenityReporterParallel
- All Implemented Interfaces:
io.cucumber.plugin.ConcurrentEventListener,io.cucumber.plugin.Plugin
public class SerenityReporterParallel
extends Object
implements io.cucumber.plugin.Plugin, io.cucumber.plugin.ConcurrentEventListener
Cucumber parallel reporter for Serenity.
- Author:
- L.Carausu (liviu.carausu@gmail.com)
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionConstructor automatically called by cucumber when class is specified as plugin in @CucumberOptions.SerenityReporterParallel(net.thucydides.model.webdriver.Configuration systemConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<io.cucumber.messages.types.Feature> featureFrom(URI featureFileUri) List<net.thucydides.model.domain.TestOutcome> protected ScenarioContextParallelgetContext(URI featureURI) protected voidhandleTestCaseFinished(io.cucumber.plugin.event.TestCaseFinished event) protected voidhandleTestCaseStarted(io.cucumber.plugin.event.TestCaseStarted event) protected voidhandleTestRunFinished(io.cucumber.plugin.event.TestRunFinished event) protected voidhandleTestRunStarted(io.cucumber.plugin.event.TestRunStarted event) protected voidhandleTestSourceRead(io.cucumber.plugin.event.TestSourceRead event) protected voidhandleTestStepFinished(io.cucumber.plugin.event.TestStepFinished event) protected voidhandleTestStepStarted(io.cucumber.plugin.event.TestStepStarted event) voidhandleWrite(io.cucumber.plugin.event.WriteEvent event) voidsetEventPublisher(io.cucumber.plugin.event.EventPublisher publisher) static StringstepTitleFrom(io.cucumber.messages.types.Step currentStep, io.cucumber.plugin.event.TestStep testStep)
-
Field Details
-
EXTERNAL_LINK_CACHE
-
SESSION_ID_CACHE
-
-
Constructor Details
-
SerenityReporterParallel
public SerenityReporterParallel()Constructor automatically called by cucumber when class is specified as plugin in @CucumberOptions. -
SerenityReporterParallel
public SerenityReporterParallel(net.thucydides.model.webdriver.Configuration systemConfiguration)
-
-
Method Details
-
getContext
-
handleTestRunStarted
protected void handleTestRunStarted(io.cucumber.plugin.event.TestRunStarted event) -
setEventPublisher
public void setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher) - Specified by:
setEventPublisherin interfaceio.cucumber.plugin.ConcurrentEventListener
-
handleTestSourceRead
protected void handleTestSourceRead(io.cucumber.plugin.event.TestSourceRead event) -
featureFrom
-
handleTestCaseStarted
protected void handleTestCaseStarted(io.cucumber.plugin.event.TestCaseStarted event) -
handleTestCaseFinished
protected void handleTestCaseFinished(io.cucumber.plugin.event.TestCaseFinished event) -
handleTestStepStarted
protected void handleTestStepStarted(io.cucumber.plugin.event.TestStepStarted event) -
handleWrite
public void handleWrite(io.cucumber.plugin.event.WriteEvent event) -
handleTestStepFinished
protected void handleTestStepFinished(io.cucumber.plugin.event.TestStepFinished event) -
handleTestRunFinished
protected void handleTestRunFinished(io.cucumber.plugin.event.TestRunFinished event) -
stepTitleFrom
public static String stepTitleFrom(io.cucumber.messages.types.Step currentStep, io.cucumber.plugin.event.TestStep testStep) -
getAllTestOutcomes
-