-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
cucumber2: cannot find tags #771
Comments
For me I get the same error when when running just |
Can someone give us a concrete case to reproduce this from? |
@mattwynne in empty folder with 2.0.0.beta.3: mkdir -p features/api
touch features/api/buckets.feature
cucumber features/api/buckets.feature |
+ Add a plain file that matches what @akostadinov described. + Add a empty file based on @mikz's instructions.
@mattwynne Check out erran/cucumber-issue-771:
|
@erran , thank you for looking into that issue. Let me explain some differences in my usage. I have the tag set for the scenario, not the whole feature. Also I am not running |
@akostadinov I moved the tag to the |
@erran, hah, it turned out that I really had an empty feature file. Removing that feature file made cucumber work. Hopefully cucumber can be more resilient to parse errors and/or log the offending files so user can fix. |
What I can see this issue is all about the handling of totally empty feature files in Cucumber v2.0.0.beta3. When running The handling of empty feature files is fixed by cucumber/cucumber-ruby-core#77. |
that's correct |
Thanks Bjorn! |
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. |
running cucumber like
cucumber features/test/tmp.feature:91
works but running likecucumber --tags @pry
results in:The same worked in 1.3.x
The text was updated successfully, but these errors were encountered: