Package io.cucumber.core.plugin.report
Class SerenityReporterCallbacks
java.lang.Object
io.cucumber.core.plugin.report.SerenityReporterCallbacks
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintextractScenarioDataVariantIndex(ScenarioContextDelegate context, io.cucumber.plugin.event.TestCase testCase) getFileNameFor(String type, String scenarioName, int dataVariantIndex) intnumber of failed scenarios / scenario data variants.intnumber of passed scenarios / scenario data variants.voidhandleTestCaseFinished(io.cucumber.plugin.event.TestCaseFinished event, ScenarioContextDelegate context) voidhandleTestCaseStarted(io.cucumber.plugin.event.TestCaseStarted testCaseStartedEvent, ScenarioContextDelegate context) voidhandleTestRunFinished(io.cucumber.plugin.event.TestRunFinished ignoredEvent, ScenarioContextDelegate ignoredContext) voidhandleTestRunStarted(io.cucumber.plugin.event.Event ignoredEvent, ScenarioContextDelegate ignoredContext) voidhandleTestSourceRead(io.cucumber.plugin.event.Event event) voidhandleTestStepFinished(io.cucumber.plugin.event.TestStepFinished event, ScenarioContextDelegate context) voidhandleTestStepStarted(io.cucumber.plugin.event.TestStepStarted event, ScenarioContextDelegate context) static booleanscenarioIdFrom(io.cucumber.plugin.event.TestCase testCase) static voidsetPauseMode(boolean pauseMode)
-
Field Details
-
TARGET_DIR
- See Also:
-
-
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) -
handleTestRunFinished
public void handleTestRunFinished(io.cucumber.plugin.event.TestRunFinished ignoredEvent, ScenarioContextDelegate ignoredContext) -
handleTestCaseStarted
public void handleTestCaseStarted(io.cucumber.plugin.event.TestCaseStarted testCaseStartedEvent, ScenarioContextDelegate context) -
extractScenarioDataVariantIndex
public int extractScenarioDataVariantIndex(ScenarioContextDelegate context, io.cucumber.plugin.event.TestCase testCase) -
handleTestStepStarted
public void handleTestStepStarted(io.cucumber.plugin.event.TestStepStarted event, ScenarioContextDelegate context) -
handleTestStepFinished
public void handleTestStepFinished(io.cucumber.plugin.event.TestStepFinished event, ScenarioContextDelegate context) -
handleTestCaseFinished
public void handleTestCaseFinished(io.cucumber.plugin.event.TestCaseFinished event, ScenarioContextDelegate context) -
getFileNameFor
-
replaceSpecialCharacters
-
scenarioIdFrom
-
isPauseMode
public static boolean isPauseMode() -
setPauseMode
public static void setPauseMode(boolean pauseMode) -
getScPassed
public int getScPassed()number of passed scenarios / scenario data variants. -
getScFailed
public int getScFailed()number of failed scenarios / scenario data variants.
-