java.lang.Object
net.thucydides.model.requirements.model.cucumber.NamedScenario
Direct Known Subclasses:
IdentifiedScenario, UnknownScenario

public abstract class NamedScenario extends Object
  • Constructor Details

    • NamedScenario

      public NamedScenario()
  • Method Details

    • forScenarioDefinition

      public static NamedScenario forScenarioDefinition(io.cucumber.messages.types.Feature feature, io.cucumber.messages.types.Scenario scenarioDefinition)
    • withNoMatchingScenario

      public static NamedScenario withNoMatchingScenario()
    • asGivenWhenThen

      public abstract Optional<String> asGivenWhenThen(ScenarioDisplayOption displayOption)
      Return the Given..When..Then part of the scenario
    • asGivenWhenThen

      public abstract Optional<String> asGivenWhenThen()
    • asExampleTable

      public abstract Optional<String> asExampleTable()
      Return the example table part of the scenario outline
    • asExampleTable

      public abstract Optional<String> asExampleTable(ScenarioDisplayOption displayOption)
      Return the example table part of the scenario outline