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 protectedIdentifiedScenario(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, withNoMatchingScenarioMethods 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:
asGivenWhenThenin classNamedScenario
-
asGivenWhenThen
Description copied from class:NamedScenarioReturn the Given..When..Then part of the scenario- Specified by:
asGivenWhenThenin classNamedScenario
-
asExampleTable
public java.util.Optional<java.lang.String> asExampleTable()Description copied from class:NamedScenarioReturn the example table part of the scenario outline- Specified by:
asExampleTablein classNamedScenario
-
asExampleTable
public java.util.Optional<java.lang.String> asExampleTable(ScenarioDisplayOption withDisplayOption)Description copied from class:NamedScenarioReturn the example table part of the scenario outline- Specified by:
asExampleTablein classNamedScenario
-