Gherkin.Feature (Cucumber v0.3.1)

View Source

Represents a parsed Gherkin feature file (minimal subset).

A Feature is the top-level element in a Gherkin file, containing a name, optional description, optional background, and one or more scenarios. It can also have tags that apply to all scenarios in the feature.

Summary

Types

t()

@type t() :: %Gherkin.Feature{
  background: Gherkin.Background.t() | nil,
  description: String.t(),
  name: String.t(),
  scenarios: [Gherkin.Scenario.t()],
  tags: [String.t()]
}