You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Throw ParserException if file ends with tags by @acoulton in #313
Throw ParserException if Background comes after first Scenario by @acoulton in #343
For compatibility with the official cucumber/gherkin parsers, we now accept some gherkin syntax that would previously have triggered a ParserException. Users may wish to consider running a tool like gherkin-lint in CI to detect incomplete feature files or valid-but-unusual gherkin syntax. The specific changes are:
Parse Scenario and Scenario Outline as synonyms depending on the presence (or not) of an Examples: keyword.
by @acoulton in #316 and #324
Do not throw on some unexpected Feature / Language tags by @acoulton in #323
Do not throw on .feature file that does not contain a Feature by @acoulton in #340
Ignore content after table right-hand | (instead of throwing) by @acoulton in #341
Remove the line length from the NewLine token value by @stof in #338