Class NamedScenario
java.lang.Object
net.thucydides.core.requirements.model.cucumber.NamedScenario
- Direct Known Subclasses:
IdentifiedScenario,UnknownScenario
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the example table part of the scenario outlineasExampleTable(ScenarioDisplayOption displayOption) Return the example table part of the scenario outlineasGivenWhenThen(ScenarioDisplayOption displayOption) Return the Given..When..Then part of the scenariostatic NamedScenarioforScenarioDefinition(io.cucumber.messages.Messages.GherkinDocument.Feature feature, io.cucumber.messages.Messages.GherkinDocument.Feature.Scenario scenarioDefinition) static NamedScenario
-
Constructor Details
-
NamedScenario
public NamedScenario()
-
-
Method Details
-
forScenarioDefinition
public static NamedScenario forScenarioDefinition(io.cucumber.messages.Messages.GherkinDocument.Feature feature, io.cucumber.messages.Messages.GherkinDocument.Feature.Scenario scenarioDefinition) -
withNoMatchingScenario
-
asGivenWhenThen
Return the Given..When..Then part of the scenario -
asGivenWhenThen
-
asExampleTable
Return the example table part of the scenario outline -
asExampleTable
Return the example table part of the scenario outline
-