Class 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 Detail

      • applicationContext

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

        protected boolean beforeAll
    • Constructor Detail

      • AbstractCucumberApiSpringConfigurationSteps

        public AbstractCucumberApiSpringConfigurationSteps()
    • 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
      • setLogLevel

        public void setLogLevel()
      • startScenarioInteraction

        public void startScenarioInteraction​(io.cucumber.java.Scenario scenario)
      • startStoryInteraction

        public void startStoryInteraction​(io.cucumber.java.Scenario scenario)
      • resolveInteractionKey

        public String resolveInteractionKey​(String interactionKey)