public class IdentifiedScenario extends NamedScenario
| Modifier | Constructor and Description |
|---|---|
protected |
IdentifiedScenario(io.cucumber.messages.types.Feature feature,
io.cucumber.messages.types.Scenario scenarioDefinition) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
asExampleTable()
Return the example table part of the scenario outline
|
Optional<String> |
asExampleTable(ScenarioDisplayOption withDisplayOption)
Return the example table part of the scenario outline
|
Optional<String> |
asGivenWhenThen() |
Optional<String> |
asGivenWhenThen(ScenarioDisplayOption displayOption)
Return the Given..When..Then part of the scenario
|
forScenarioDefinition, withNoMatchingScenarioprotected IdentifiedScenario(io.cucumber.messages.types.Feature feature,
io.cucumber.messages.types.Scenario scenarioDefinition)
public Optional<String> asGivenWhenThen()
asGivenWhenThen in class NamedScenariopublic Optional<String> asGivenWhenThen(ScenarioDisplayOption displayOption)
NamedScenarioasGivenWhenThen in class NamedScenariopublic Optional<String> asExampleTable()
NamedScenarioasExampleTable in class NamedScenariopublic Optional<String> asExampleTable(ScenarioDisplayOption withDisplayOption)
NamedScenarioasExampleTable in class NamedScenarioCopyright © 2023. All rights reserved.