Skip to content
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

duplicate tests being run after a failure #22

Closed
oreoshake opened this issue Nov 7, 2011 · 1 comment
Closed

duplicate tests being run after a failure #22

oreoshake opened this issue Nov 7, 2011 · 1 comment

Comments

@oreoshake
Copy link

Run Cucumber features features/password_client.feature

-break test

Run Cucumber features features/password_client.feature

-fix test

Run Cucumber features features/password_client.feature features/
password_client.feature:22

All tests get run, and the feature on 22 gets run twice. Should only
be once, right?

@netzpirat
Copy link
Owner

This is in fact a bug. If you have time to look into it, lib/guard/cucumber/inspector.rb is responsible for filtering unwanted paths before the run. It should remove paths that contains a colon when the paths already includes the same file without colon. I may have some time to do it, but that would be rather at the end of the week.

hron pushed a commit to hron/guard-cucumber that referenced this issue Nov 10, 2015
hron pushed a commit to hron/guard-cucumber that referenced this issue Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants