Class SerenityReporterCallbacks

java.lang.Object
io.cucumber.core.plugin.report.SerenityReporterCallbacks

public class SerenityReporterCallbacks extends Object
  • Field Details

  • Constructor Details

    • SerenityReporterCallbacks

      public SerenityReporterCallbacks()
  • Method Details

    • handleTestSourceRead

      public void handleTestSourceRead(io.cucumber.plugin.event.Event event)
    • handleTestRunStarted

      public void handleTestRunStarted(io.cucumber.plugin.event.Event ignoredEvent, ScenarioContextDelegate ignoredContext)
    • handleTestCaseStarted

      public void handleTestCaseStarted(io.cucumber.plugin.event.Event ignoredEvent, ScenarioContextDelegate context)
    • handleTestStepStarted

      public void handleTestStepStarted(io.cucumber.plugin.event.Event event, ScenarioContextDelegate context)
    • handleTestStepFinished

      public void handleTestStepFinished(io.cucumber.plugin.event.Event event, ScenarioContextDelegate context)
    • handleTestCaseFinished

      public void handleTestCaseFinished(io.cucumber.plugin.event.Event event, ScenarioContextDelegate context)
    • getFileNameFor

      public String getFileNameFor(String type, String scenarioName, int dataVariantIndex)
    • replaceSpecialCharacters

      public String replaceSpecialCharacters(String name)
    • isPauseMode

      public static boolean isPauseMode()
    • setPauseMode

      public static void setPauseMode(boolean pauseMode)
    • getCurrentScenarioDataVariantIndex

      public int getCurrentScenarioDataVariantIndex()
    • getScPassed

      public int getScPassed()
      number of passed scenarios / scenario data variants.
    • getScFailed

      public int getScFailed()
      number of failed scenarios / scenario data variants.