Behat / Gherkin

Gherkin parser, written in PHP for Behat project
MIT License
1.05k stars 89 forks source link

Missing feature keyword should not error #208

Open ciaranmcnulty opened 3 years ago

ciaranmcnulty commented 3 years ago

We error out if there's no feature in a file, whereas cucumber silently returns null

Not sure the impact this has or whether it's worth fixing

Removing this line will add a failing test https://github.com/Behat/Gherkin/blob/master/tests/Behat/Gherkin/Cucumber/CompatibilityTest.php#L37