Gherkin.ScenarioOutline (Cucumber v0.8.0)

View Source

Represents a Gherkin Scenario Outline section.

A Scenario Outline is a template that runs multiple times with different data from Examples tables. Placeholders in step text use <name> syntax and are substituted with values from each row of the Examples table.

Summary

Types

t()

@type t() :: %Gherkin.ScenarioOutline{
  examples: [Gherkin.Examples.t()],
  line: non_neg_integer() | nil,
  name: String.t(),
  steps: [Gherkin.Step.t()],
  tags: [String.t()]
}