class Cucumber::Messages::Pickle

Represents the Pickle message in Cucumber’s message protocol.

A ‘Pickle` represents a template for a `TestCase`. It is typically derived from another format, such as [GherkinDocument](io.cucumber.messages.GherkinDocument). In the future a `Pickle` may be derived from other formats such as Markdown or Excel files.

By making ‘Pickle` the main data structure Cucumber uses for execution, the implementation of Cucumber itself becomes simpler, as it doesn’t have to deal with the complex structure of a [GherkinDocument](io.cucumber.messages.GherkinDocument).

Each ‘PickleStep` of a `Pickle` is matched with a `StepDefinition` to create a `TestCase`