Class SerenityReporterParallel

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 Details

    • SESSION_ID_CACHE

      public static final Map<String,String> 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

      protected ScenarioContextParallel getContext(URI featureURI)
    • handleTestRunStarted

      protected void handleTestRunStarted(io.cucumber.plugin.event.TestRunStarted event)
    • setEventPublisher

      public void setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher)
      Specified by:
      setEventPublisher in interface io.cucumber.plugin.ConcurrentEventListener
    • handleTestSourceRead

      protected void handleTestSourceRead(io.cucumber.plugin.event.TestSourceRead event)
    • featureFrom

      protected Optional<io.cucumber.messages.types.Feature> featureFrom(URI featureFileUri)
    • 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)
    • scenarioIdFrom

      public static Optional<String> scenarioIdFrom(FeatureFileLoader featureLoader, io.cucumber.plugin.event.TestCase testCase)
    • stepTitleFrom

      public static String stepTitleFrom(io.cucumber.messages.types.Step currentStep, io.cucumber.plugin.event.TestStep testStep)
    • getAllTestOutcomes

      public List<net.thucydides.model.domain.TestOutcome> getAllTestOutcomes()