Class ScenarioContextDelegate

java.lang.Object
io.cucumber.core.plugin.ScenarioContextDelegate

public class ScenarioContextDelegate extends Object
  • Constructor Details

    • ScenarioContextDelegate

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

    • 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()
    • getExampleRows

      public Map<Long,Map<String,String>> getExampleRows()
    • getExampleTags

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

      public int getExampleCount()
    • getTable

      public net.thucydides.model.domain.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.model.domain.DataTable table)
    • addTableRows

      public void addTableRows(List<String> headers, List<Map<String,String>> rows, String name, String description, Map<Integer,Long> lineNumbersOfEachRow)
    • addTableTags

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

      public void clearTable()
    • stepEventBus

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