Skip to content
Discussion options

You must be logged in to vote

Oh that is kinda cool!

From https://github.com/cucumber/messages/blob/main/jsonschema/messages.md#pickle

A Pickle represents a template for a TestCase. It is typically derived from another format, such as 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.

So when deriving a Pickle from a GherkinDocument:

  • A Scenario becomes a single pickle.
  • A Scenario Outline with 5 examples results in 5 pickles, one for each example.
  • A feature level B…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cmarchand
Comment options

@mpkorstanje
Comment options

Answer selected by cmarchand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants