Package io.cucumber.core.plugin
Class SerenityReporterCallbacks
- java.lang.Object
-
- io.cucumber.core.plugin.SerenityReporterCallbacks
-
public class SerenityReporterCallbacks extends Object
-
-
Constructor Summary
Constructors Constructor Description SerenityReporterCallbacks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCurrentScenarioDataVariantIndex()StringgetFileNameFor(String scenarioName, int dataVariantIndex)intgetScFailed()number of failed scenarios / scenario data variants.intgetScPassed()number of passed scenarios / scenario data variants.voidhandleTestCaseFinished(io.cucumber.plugin.event.Event event, io.cucumber.core.plugin.ScenarioContext context)voidhandleTestCaseStarted(io.cucumber.plugin.event.Event ignoredEvent, io.cucumber.core.plugin.ScenarioContext context)voidhandleTestRunStarted(io.cucumber.plugin.event.Event ignoredEvent, io.cucumber.core.plugin.ScenarioContext ignoredContext)voidhandleTestSourceRead(io.cucumber.plugin.event.Event event)voidhandleTestStepFinished(io.cucumber.plugin.event.Event event, io.cucumber.core.plugin.ScenarioContext context)voidhandleTestStepStarted(io.cucumber.plugin.event.Event event, io.cucumber.core.plugin.ScenarioContext context)StringreplaceSpecialCharacters(String name)
-
-
-
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)
-
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.
-
-