Gherkin.Examples (Cucumber v0.8.0)

View Source

Represents an Examples block within a Scenario Outline.

Each Examples block contains a table of data used to parameterize the outline. The first row contains headers (placeholder names), and subsequent rows contain values to substitute. Examples blocks can have optional names and tags.

Summary

Types

t()

@type t() :: %Gherkin.Examples{
  line: non_neg_integer() | nil,
  name: String.t(),
  table_body: [[String.t()]],
  table_header: [String.t()],
  tags: [String.t()]
}