Package io.cucumber.core.plugin.report
Class SerenityReporterCallbacks
- java.lang.Object
-
- io.cucumber.core.plugin.report.SerenityReporterCallbacks
-
public class SerenityReporterCallbacks extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringTARGET_DIR
-
Constructor Summary
Constructors Constructor Description SerenityReporterCallbacks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCurrentScenarioDataVariantIndex()StringgetFileNameFor(String type, 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, ScenarioContextDelegate context)voidhandleTestCaseStarted(io.cucumber.plugin.event.Event event, ScenarioContextDelegate context)voidhandleTestRunStarted(io.cucumber.plugin.event.Event ignoredEvent, ScenarioContextDelegate ignoredContext)voidhandleTestSourceRead(io.cucumber.plugin.event.Event event)voidhandleTestStepFinished(io.cucumber.plugin.event.Event event, ScenarioContextDelegate context)voidhandleTestStepStarted(io.cucumber.plugin.event.Event event, ScenarioContextDelegate context)StringreplaceSpecialCharacters(String name)
-
-
-
Field Detail
-
TARGET_DIR
public static final String TARGET_DIR
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 event, 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)
-
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.
-
-