Class CurrentFeature
java.lang.Object
de.telekom.test.bddwebapp.cucumber.features.CurrentFeature
Gives access to the current story about the Spring Context
- Author:
- Daniel Keiss <daniel.keiss@telekom.de>, Marc Eckart - Initial implementation of current story bean
Copyright (c) 2022 Daniel Keiss, Deutsche Telekom IT GmbH This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeScenarioHook(io.cucumber.java.Scenario scenario) static StringgetFeatureNameFromScenario(io.cucumber.java.Scenario scenario) voidhandleCustomFeatureAnnotations(io.cucumber.java.Scenario scenario) voidincreaseTestCaseCount(String feature) booleanboolean
-
Constructor Details
-
CurrentFeature
-
-
Method Details
-
isRestartBrowserBeforeScenario
public boolean isRestartBrowserBeforeScenario() -
isBeforeFeature
public boolean isBeforeFeature() -
beforeScenarioHook
public void beforeScenarioHook(io.cucumber.java.Scenario scenario) -
increaseTestCaseCount
-
handleCustomFeatureAnnotations
public void handleCustomFeatureAnnotations(io.cucumber.java.Scenario scenario) -
getFeatureNameFromScenario
-
getCurrentFeature
-
getTestCaseCountCurrentFeature
-