Class AbstractCucumberApiSpringConfigurationSteps
- java.lang.Object
-
- de.telekom.test.bddwebapp.api.steps.ApiSteps
-
- de.telekom.test.bddwebapp.cucumber.steps.AbstractCucumberApiSpringConfigurationSteps
-
- All Implemented Interfaces:
RestAssuredSteps
public abstract class AbstractCucumberApiSpringConfigurationSteps extends ApiSteps
- Author:
- Daniel Keiss <daniel.keiss@telekom.de>
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.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.context.ApplicationContextapplicationContextprotected booleanbeforeAllprotected CurrentFeaturecurrentFeatureprotected CustomizingFeaturescustomizingFeaturesprotected InteractionParameterConverterinteractionParameterConverterprotected ScenarioInteractionscenarioInteractionprotected StoryInteractionstoryInteraction-
Fields inherited from interface de.telekom.test.bddwebapp.api.steps.RestAssuredSteps
REQUEST_INTERACTION_KEY, RESPONSE_INTERACTION_KEY
-
-
Constructor Summary
Constructors Constructor Description AbstractCucumberApiSpringConfigurationSteps()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringresolveInteractionKey(String interactionKey)voidsetupBddWebApp(io.cucumber.java.Scenario scenario)Need this method so the cucumber will recognize this class as glue and load spring context configurationvoidstartScenarioInteraction(io.cucumber.java.Scenario scenario)voidstartStoryInteraction(io.cucumber.java.Scenario scenario)-
Methods inherited from class de.telekom.test.bddwebapp.api.steps.ApiSteps
clearRequest, recallRequest, recallResponse, rememberRequest
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.telekom.test.bddwebapp.api.steps.RestAssuredSteps
baseUri, createRequest, createRequestWithBaseUriAndProxy, createRequestWithJsonConfig, determineStandardPortForScheme, jsonConfig, proxy, proxy, recallResponseAsMap
-
-
-
-
Field Detail
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext
-
scenarioInteraction
@Autowired protected ScenarioInteraction scenarioInteraction
-
storyInteraction
@Autowired protected StoryInteraction storyInteraction
-
interactionParameterConverter
@Autowired protected InteractionParameterConverter interactionParameterConverter
-
customizingFeatures
@Autowired protected CustomizingFeatures customizingFeatures
-
currentFeature
@Autowired protected CurrentFeature currentFeature
-
beforeAll
protected boolean beforeAll
-
-
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
-
startScenarioInteraction
public void startScenarioInteraction(io.cucumber.java.Scenario scenario)
-
startStoryInteraction
public void startStoryInteraction(io.cucumber.java.Scenario scenario)
-
-