Class ScenarioContextDelegate


  • public class ScenarioContextDelegate
    extends Object
    • Constructor Detail

      • ScenarioContextDelegate

        public ScenarioContextDelegate​(io.cucumber.core.plugin.ScenarioContext context)
    • Method Detail

      • currentFeaturePathIs

        public void currentFeaturePathIs​(URI featurePath)
      • currentScenarioOutline

        public io.cucumber.messages.types.Scenario currentScenarioOutline()
      • currentFeaturePath

        public URI currentFeaturePath()
      • getStepQueue

        public Queue<io.cucumber.messages.types.Step> getStepQueue()
      • examplesAreRunning

        public boolean examplesAreRunning()
      • getExampleTags

        public Map<Long,​List<io.cucumber.messages.types.Tag>> getExampleTags()
      • getExampleCount

        public int getExampleCount()
      • getTable

        public net.thucydides.core.model.DataTable getTable()
      • isWaitingToProcessBackgroundSteps

        public boolean isWaitingToProcessBackgroundSteps()
      • getCurrentScenarioId

        public String getCurrentScenarioId()
      • setCurrentScenarioId

        public void setCurrentScenarioId​(String scenarioId)
      • getCurrentScenarioDefinition

        public io.cucumber.messages.types.Scenario getCurrentScenarioDefinition()
      • getCurrentScenario

        public String getCurrentScenario()
      • getFeatureTags

        public List<io.cucumber.messages.types.Tag> getFeatureTags()
      • isAddingScenarioOutlineSteps

        public boolean isAddingScenarioOutlineSteps()
      • doneAddingScenarioOutlineSteps

        public void doneAddingScenarioOutlineSteps()
      • setFeatureTags

        public void setFeatureTags​(List<io.cucumber.messages.types.Tag> tags)
      • setCurrentScenarioDefinitionFrom

        public void setCurrentScenarioDefinitionFrom​(io.cucumber.core.plugin.TestSourcesModel.AstNode astNode)
      • isAScenarioOutline

        public boolean isAScenarioOutline()
      • startNewExample

        public void startNewExample()
      • setExamplesRunning

        public void setExamplesRunning​(boolean examplesRunning)
      • getScenarioTags

        public List<io.cucumber.messages.types.Tag> getScenarioTags()
      • getScenarioName

        public String getScenarioName()
      • getScenarioExamples

        public List<io.cucumber.messages.types.Examples> getScenarioExamples()
      • clearStepQueue

        public void clearStepQueue()
      • clearTestStepQueue

        public void clearTestStepQueue()
      • queueStep

        public void queueStep​(io.cucumber.messages.types.Step step)
      • queueTestStep

        public void queueTestStep​(io.cucumber.plugin.event.TestStep testStep)
      • getCurrentStep

        public io.cucumber.messages.types.Step getCurrentStep()
      • nextStep

        public io.cucumber.messages.types.Step nextStep()
      • nextTestStep

        public io.cucumber.plugin.event.TestStep nextTestStep()
      • noStepsAreQueued

        public boolean noStepsAreQueued()
      • hasScenarioId

        public boolean hasScenarioId​(String scenarioId)
      • setTable

        public void setTable​(net.thucydides.core.model.DataTable table)
      • addTableTags

        public void addTableTags​(List<net.thucydides.core.model.TestTag> tags)
      • clearTable

        public void clearTable()
      • stepEventBus

        public net.thucydides.core.steps.StepEventBus stepEventBus()