Class AbstractCucumberApiSpringConfigurationSteps
java.lang.Object
de.telekom.test.bddwebapp.api.steps.ApiSteps
de.telekom.test.bddwebapp.cucumber.steps.AbstractCucumberApiSpringConfigurationSteps
- All Implemented Interfaces:
RestAssuredSteps
- 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
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected booleanprotected CurrentFeatureprotected CustomizingFeaturesprotected InteractionParameterConverterprotected ScenarioInteractionprotected StoryInteractionFields inherited from interface de.telekom.test.bddwebapp.api.steps.RestAssuredSteps
REQUEST_INTERACTION_KEY, RESPONSE_INTERACTION_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveInteractionKey(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, rememberRequestMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.telekom.test.bddwebapp.api.steps.RestAssuredSteps
baseUri, createRequest, createRequestWithBaseUriAndProxy, createRequestWithJsonConfig, determineStandardPortForScheme, jsonConfig, proxy, proxy, recallResponseAsMap
-
Field Details
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext -
scenarioInteraction
-
storyInteraction
-
interactionParameterConverter
-
customizingFeatures
-
currentFeature
-
beforeAll
protected boolean beforeAll
-
-
Constructor Details
-
AbstractCucumberApiSpringConfigurationSteps
public AbstractCucumberApiSpringConfigurationSteps()
-
-
Method Details
-
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) -
resolveInteractionKey
-