Gherkin.Background (Cucumber v1.0.0)

View Source

Represents a Gherkin Background section.

A Background contains steps that are run before each scenario in the feature. It allows you to define common setup steps that apply to all scenarios.

Summary

Types

t()

@type t() :: %Gherkin.Background{
  description: String.t(),
  line: non_neg_integer() | nil,
  name: String.t(),
  steps: [Gherkin.Step.t()]
}