Class NamedExampleTable
java.lang.Object
net.thucydides.core.requirements.model.cucumber.NamedExampleTable
- Direct Known Subclasses:
IdentifiedExampleTable
,UnknownExampleTable
public abstract class NamedExampleTable
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description NamedExampleTable()
-
Method Summary
Modifier and Type Method Description abstract java.util.Optional<java.lang.String>
asExampleTable()
Return the example table part of the scenario outlineabstract java.util.Optional<java.lang.String>
asExampleTable(ScenarioDisplayOption displayOption)
Return the example table part of the scenario outlinestatic NamedExampleTable
forScenarioDefinition(io.cucumber.messages.Messages.GherkinDocument.Feature feature, io.cucumber.messages.Messages.GherkinDocument.Feature.Scenario scenarioDefinition, java.lang.String exampleName)
static NamedExampleTable
withNoMatchingScenario()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NamedExampleTable
public NamedExampleTable()
-
-
Method Details
-
forScenarioDefinition
public static NamedExampleTable forScenarioDefinition(io.cucumber.messages.Messages.GherkinDocument.Feature feature, io.cucumber.messages.Messages.GherkinDocument.Feature.Scenario scenarioDefinition, java.lang.String exampleName) -
withNoMatchingScenario
-
asExampleTable
public abstract java.util.Optional<java.lang.String> asExampleTable()Return the example table part of the scenario outline -
asExampleTable
public abstract java.util.Optional<java.lang.String> asExampleTable(ScenarioDisplayOption displayOption)Return the example table part of the scenario outline
-