gherkin - Parser of documents in the Gherkin language
gherkin [options] file... gherkin --help
gherkin accepts a series of filenames to parse. It outputs a series of ndjson formatted messages containing the source document, parsed document (AST) and pickles as specified at https://github.com/cucumber/common/blob/main/messages/messages.md.
gherkin
The following options are supported:
--no-source Do not include the feature file source in output --no-ast Do not include the AST (parsed source) in output --no-pickles Do not include pickles (expanded scenarios) in output --predictable-ids Generate IDs from a sequence instead of random UUIDs --help Print this usage message
To install Gherkin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gherkin
CPAN shell
perl -MCPAN -e shell install Gherkin
For more information on module installation, please visit the detailed CPAN module installation guide.