Gherkin.Rule (Cucumber v1.0.0)
View SourceRepresents a Gherkin Rule section.
A Rule groups related scenarios under a feature to express a business rule. It can have its own description, tags, and Background; rule-background steps run after the feature-background steps for each scenario in the rule, and rule tags are inherited by those scenarios.
Summary
Types
@type t() :: %Gherkin.Rule{ background: Gherkin.Background.t() | nil, description: String.t(), line: non_neg_integer() | nil, name: String.t(), scenarios: [Gherkin.Scenario.t() | Gherkin.ScenarioOutline.t()], tag_lines: [non_neg_integer()], tags: [String.t()] }