-
-
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
Cmdline arguments parsing error if --drb is enabled. #117
Comments
iromeo
added a commit
to iromeo/cucumber
that referenced
this issue
Aug 11, 2011
Test which shows the bug - iromeo@6c09406 |
iromeo
added a commit
to iromeo/cucumber
that referenced
this issue
Aug 11, 2011
iromeo
added a commit
to iromeo/cucumber
that referenced
this issue
Aug 11, 2011
Suggested fix - iromeo@396e3ee or iromeo@25296e2, but previous I like more. |
Hi, any progress? I've attached a patch... |
Merged! Will be in 1.0.4 |
Aslak, thanks! |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Cucumber gem v. 10.0.2 doesn't parse cmdline arguments correctly in DRB mode.
How to reproduce:
, "-r features" cmdline argument and rails application home as a working directory
My cucumber gem cmdline options:
Cucumber passes to spork:
instead of:
Done.
As you can notice cucumber remove work "features" from "-r features". It is due to bug in "expanded_args_without_drb" method:
"overridden_paths" list contains "features" string because default profile suggests to launch all tests in "features" folder and it is overridden by our cmdline arguments which ask just to launch a single feature file. So the above method removes all mentions of "features" string from cmdline arguments and thus converts "-r features --format ..." to "-r --format ..." and thus all other arguments will be parsed incorrectly.
The text was updated successfully, but these errors were encountered: