-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
ScenarioOutline provides a neat way to evaluate a scenario with a given set of examples.
final class ExampleScenario: Feature {
override func scenarios() {
ScenarioOutline("Eating cucumbers")
.Given("There are <start> cucumbers")
.When("I eat <eat> cucumber")
.Then("I should have <left> cucumbers")
.Examples({
"start": [12, 20],
"eat": [5, 5],
"left": [7, 15]
})
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels