Gherkin.Scenario (Cucumber v1.0.0)
View SourceRepresents a Gherkin Scenario section.
A Scenario is a concrete example that illustrates a business rule.
It consists of a name, an optional free-form description, a list of steps,
optional tags for filtering, and the line number where it appears in the
source file. Rule provenance for scenarios defined inside a Rule lives
on Gherkin.Pickle.rule_name.
Summary
Types
@type t() :: %Gherkin.Scenario{ description: String.t(), keyword: String.t(), line: non_neg_integer() | nil, name: String.t(), steps: [Gherkin.Step.t()], tag_lines: [non_neg_integer()], tags: [String.t()] }