Class CurrentFeature

java.lang.Object
de.telekom.test.bddwebapp.cucumber.features.CurrentFeature

@Component public class CurrentFeature extends Object
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 Details

  • Method Details

    • isRestartBrowserBeforeScenario

      public boolean isRestartBrowserBeforeScenario()
    • isBeforeFeature

      public boolean isBeforeFeature()
    • beforeScenarioHook

      public void beforeScenarioHook(io.cucumber.java.Scenario scenario)
    • increaseTestCaseCount

      public void increaseTestCaseCount(String feature)
    • handleCustomFeatureAnnotations

      public void handleCustomFeatureAnnotations(io.cucumber.java.Scenario scenario)
    • getFeatureNameFromScenario

      public static String getFeatureNameFromScenario(io.cucumber.java.Scenario scenario)
    • getCurrentFeature

      public String getCurrentFeature()
    • getTestCaseCountCurrentFeature

      public Integer getTestCaseCountCurrentFeature()