Class SerenityReporterCallbacks


  • public class SerenityReporterCallbacks
    extends Object
    • Constructor Detail

      • SerenityReporterCallbacks

        public SerenityReporterCallbacks()
    • Method Detail

      • handleTestSourceRead

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

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

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

        public void handleTestStepStarted​(io.cucumber.plugin.event.Event event,
                                          io.cucumber.core.plugin.ScenarioContext context)
      • handleTestStepFinished

        public void handleTestStepFinished​(io.cucumber.plugin.event.Event event,
                                           io.cucumber.core.plugin.ScenarioContext context)
      • handleTestCaseFinished

        public void handleTestCaseFinished​(io.cucumber.plugin.event.Event event,
                                           io.cucumber.core.plugin.ScenarioContext context)
      • getFileNameFor

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

        public String replaceSpecialCharacters​(String name)
      • 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.