Class IdentifiedScenario
java.lang.Object
net.thucydides.core.requirements.model.cucumber.NamedScenario
net.thucydides.core.requirements.model.cucumber.IdentifiedScenario
public class IdentifiedScenario extends NamedScenario
-
Constructor Summary
Constructors Modifier Constructor Description protected
IdentifiedScenario(io.cucumber.messages.Messages.GherkinDocument.Feature feature, io.cucumber.messages.Messages.GherkinDocument.Feature.Scenario scenarioDefinition)
-
Method Summary
Modifier and Type Method Description java.util.Optional<java.lang.String>
asExampleTable()
Return the example table part of the scenario outlinejava.util.Optional<java.lang.String>
asExampleTable(ScenarioDisplayOption withDisplayOption)
Return the example table part of the scenario outlinejava.util.Optional<java.lang.String>
asGivenWhenThen()
java.util.Optional<java.lang.String>
asGivenWhenThen(ScenarioDisplayOption displayOption)
Return the Given..When..Then part of the scenarioMethods inherited from class net.thucydides.core.requirements.model.cucumber.NamedScenario
forScenarioDefinition, withNoMatchingScenario
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IdentifiedScenario
protected IdentifiedScenario(io.cucumber.messages.Messages.GherkinDocument.Feature feature, io.cucumber.messages.Messages.GherkinDocument.Feature.Scenario scenarioDefinition)
-
-
Method Details
-
asGivenWhenThen
public java.util.Optional<java.lang.String> asGivenWhenThen()- Specified by:
asGivenWhenThen
in classNamedScenario
-
asGivenWhenThen
Description copied from class:NamedScenario
Return the Given..When..Then part of the scenario- Specified by:
asGivenWhenThen
in classNamedScenario
-
asExampleTable
public java.util.Optional<java.lang.String> asExampleTable()Description copied from class:NamedScenario
Return the example table part of the scenario outline- Specified by:
asExampleTable
in classNamedScenario
-
asExampleTable
public java.util.Optional<java.lang.String> asExampleTable(ScenarioDisplayOption withDisplayOption)Description copied from class:NamedScenario
Return the example table part of the scenario outline- Specified by:
asExampleTable
in classNamedScenario
-