-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dry-run error :: can't dup NilClass (TypeError) #109
Comments
Gherkin v4.0 is more allowing with respect to incomplete scenario outlines, therefore Cucumber::Core::Gherkin::AstBuilder need to also be that.
As Gherkin v3.2.0 (used in Cucumber-Ruby v2.3.3) does not allow empty With Gherkin v4.0.0 the feature file is now (correctly) parsed as a scenario outline with two |
Gherkin v4.0 is more allowing with respect to incomplete scenario outlines, therefore Cucumber::Core::Gherkin::AstBuilder need to also be that.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I already found the cause to this error, however I just wanted to post this here incase anybody else comes across the same issue. After the upgrade from cucumber 2.3.3 to 2.4.0 I ran into the error/stacktrace below. The culprit scenario file had not be changed and started failing only after the upgrade to 2.4.0, and was found during a
--dry-run
.code:ruby
Scenario Outline: Lorem ipsum dolor sit amet
Given consectetur adipiscing elit
When proin non varius est <page_size> maecenas eu magna tempus
Then consectetur nibh eu, cursus diam maecenas
The text was updated successfully, but these errors were encountered: