Skip to main content

Module gherkin

Module gherkin 

Source
Expand description

Full-syntax, localized Gherkin feature-step extraction.

Parsing is delegated to the maintained gherkin crate. Its generated parser embeds Cucumber’s upstream dialect data, including translated structural and step keywords.

Enums§

FeatureFormat
Gherkin source syntax selected for a discovered feature file.

Functions§

extract
Parses in-memory Gherkin source, using path for locations and diagnostics.
extract_file
Parses a Gherkin file and returns its concrete feature steps in source order.
extract_file_with_format
Parses a feature file with an explicitly selected source format.
extract_with_format
Parses in-memory source in the selected Gherkin format.