Class AbstractCucumberSpringConfigurationSteps

  • All Implemented Interfaces:
    de.telekom.test.bddwebapp.api.steps.RestAssuredSteps

    public abstract class AbstractCucumberSpringConfigurationSteps
    extends de.telekom.test.bddwebapp.api.steps.ApiSteps
    Author:
    Daniel Keiss <daniel.keiss@telekom.de>

    Copyright (c) 2021 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.

    • Field Detail

      • applicationContext

        @Autowired
        protected org.springframework.context.ApplicationContext applicationContext
      • scenarioInteraction

        @Autowired
        protected de.telekom.test.bddwebapp.interaction.ScenarioInteraction scenarioInteraction
      • storyInteraction

        @Autowired
        protected de.telekom.test.bddwebapp.interaction.StoryInteraction storyInteraction
      • interactionParameterConverter

        @Autowired
        protected de.telekom.test.bddwebapp.interaction.InteractionParameterConverter interactionParameterConverter
    • Constructor Detail

      • AbstractCucumberSpringConfigurationSteps

        public AbstractCucumberSpringConfigurationSteps()
    • Method Detail

      • setupBddWebApp

        public void setupBddWebApp​(io.cucumber.java.Scenario scenario)
        Need this method so the cucumber will recognize this class as glue and load spring context configuration
      • basicSetup

        public void basicSetup​(io.cucumber.java.Scenario scenario)
      • handleFeature

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

        public void handleCustomFeatureAnnotations​(String featureName,
                                                   io.cucumber.java.Scenario scenario)
      • setupApplicationContext

        public void setupApplicationContext()
      • setLogLevel

        public void setLogLevel()
      • afterFeature

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

        public String getFeatureNameFromScenario​(io.cucumber.java.Scenario scenario)
      • setFeatureNameToCurrentSpringContext

        public void setFeatureNameToCurrentSpringContext​(String featureName)
      • startScenarioInteraction

        public void startScenarioInteraction()
      • startStoryInteraction

        public void startStoryInteraction()
      • resolveInteractionKey

        public String resolveInteractionKey​(String interactionKey)