public abstract class NamedScenario extends Object
| Constructor and Description |
|---|
NamedScenario() |
| Modifier and Type | Method and Description |
|---|---|
abstract Optional<String> |
asExampleTable()
Return the example table part of the scenario outline
|
abstract Optional<String> |
asExampleTable(ScenarioDisplayOption displayOption)
Return the example table part of the scenario outline
|
abstract Optional<String> |
asGivenWhenThen() |
abstract Optional<String> |
asGivenWhenThen(ScenarioDisplayOption displayOption)
Return the Given..When..Then part of the scenario
|
static NamedScenario |
forScenarioDefinition(io.cucumber.messages.types.Feature feature,
io.cucumber.messages.types.Scenario scenarioDefinition) |
static NamedScenario |
withNoMatchingScenario() |
public static NamedScenario forScenarioDefinition(io.cucumber.messages.types.Feature feature, io.cucumber.messages.types.Scenario scenarioDefinition)
public static NamedScenario withNoMatchingScenario()
public abstract Optional<String> asGivenWhenThen(ScenarioDisplayOption displayOption)
public abstract Optional<String> asExampleTable()
public abstract Optional<String> asExampleTable(ScenarioDisplayOption displayOption)
Copyright © 2023. All rights reserved.