Gherkin
Gherkin copied to clipboard
Gherkin parser, written in PHP for Behat project
Now the `descriptions.feature` sample in CompatibilityTest will work. The code is backward compatible.
This adds a compatibility layer that can be used when `cucumber/gherkin` is also installed, that uses that parser instead and then maps the result back to our 'regular' AST for...
When I run `behat --tags=""` then I expect no exceptions to be thrown. In the version of behat that I'm running (3.8.1), it throws the following exception: ``` $ behat...
I'm going to do a spike at porting the cucumber parser over to PHP within the cucumber repository. This would contain a complete AST of value objects we could use....
Cucumber is advancing their major versions pretty fast, they're on 16.0.0 They're ok about keeping semver as far as keywords are concerned, but we are blindly consuming those translations within...
This is new in Gherkin v6 https://docs.cucumber.io/gherkin/reference/#rule
We just seem to trim it slightly differently Removing this line will add a failing test https://github.com/Behat/Gherkin/blob/master/tests/Behat/Gherkin/Cucumber/CompatibilityTest.php#L39
To further document areas of difference with Cucumber, this uses the go binary releases to test that the AST produced by the real cucumber is the same as the AST...
Now we're running the cucumber testate against Behat, we should also run the Behat test data against Cucumber. The loader written for those tests should be reusable, the only downside...
See comment on #222