-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Scenario --name not working for names with quotes and multiple words #379
Comments
We need to implement a |
I'm having this problem now. I'll go ahead and write a fix for it. |
added a pull request for this issue 429 It looks like this problem only exists when cucumber options is being used from the command line. The current RuntimeOptions constructor splits the cucumber.options property on spaces. The modification only adds support for single quoted strings. I considered adding support for escaped characters, but I'm not sure how this will interact with the command line parser. |
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. |
It seems Cucumber JVM has a bug where the command line option cucumber.options is being split on spaces, and thus a name option with multiple words does not parse correctly (e.g. --name 'Scenario: This is my scenario').
More background can be found in this post:
https://groups.google.com/forum/?fromgroups=#!topic/cukes/lwI86jYmsnw
Thanks.
Robert
The text was updated successfully, but these errors were encountered: