Gherkin icon indicating copy to clipboard operation
Gherkin copied to clipboard

Gherkin parser, written in PHP for Behat project

Results 39 Gherkin issues
Sort by recently updated
recently updated
newest added

Loading features from Yaml files is not something that is needed by Behat. And the format of those Yaml files (which is the array-based format of the ArrayLoader used internally...

cucumber/gherkin is relatively relaxed about allowing things that could look like gherkin keywords inside a description element, where in some cases we throw an exception. It looks like broadly speaking,...

cucumber-parity
In Progress

cucumber/gherkin currently fails when using a comment the description. This has been reported as https://github.com/cucumber/gherkin/issues/16 as many people find this behavior undesirable. Our parser currently supports such comments, which would...

cucumber-parity

cucumber/gherkin keeps the `@` in the tag, while we remove the `@` prefix This is normalized in the CucumberNDJsonAstLoader used by our compatibility tests: https://github.com/Behat/Gherkin/blob/281e044300418a83be5b7dd435ba5de9197f0db2/src/Loader/CucumberNDJsonAstLoader.php#L78 Removing that transformation makes some...

cucumber-parity

Per the `docstrings.feature` gherkin testdata, content like: ``` And a DocString with escaped separator inside """ first line \"\"\" third line """ ``` Should un-escape the escaped separator when parsing...

cucumber-parity

Our testsuite covers many cases of invalid data in our ParserExceptionsTest. Many of those cases are not covered by the bad data of the [cucumber gherkin testsuite](https://github.com/cucumber/gherkin/tree/main/testdata). We should upstream...

Maintenance

As per #407, we have always officially documented and expected that tag filter expressions would contain the `@` prefix e.g. `@wip&&~@slow`. This was the only syntax that was ever tested....

Now that we have support for using custom tests written using the cucumber gherkin testdata format, all our existing fixtures used by ParserTest should be converted to the gherkin testdata...