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

Report undefined step name/stepdef snippet #33

Closed
jbpros opened this issue Oct 24, 2011 · 2 comments
Closed

Report undefined step name/stepdef snippet #33

jbpros opened this issue Oct 24, 2011 · 2 comments

Comments

@jbpros
Copy link
Member

jbpros commented Oct 24, 2011

Missing step definitions are currently marked as "U" (undefined) by the progress formatter without any other kind of information. The user should be told which step (i.e. its name) needs it.

What about the step definition snippet suggestion? I guess many users like those.

@jbpros
Copy link
Member Author

jbpros commented Oct 29, 2011

I think there is no such thing as Gherkin::I18n for JS. @aslakhellesoy please correct me if I'm wrong.

It means generating snippets for non-english step definitions will not be easy. The workaround is to build snippets with this.defineStep() instead of this.Given(), this.When() and this.Then() if the keyword does not match one of the english keywords.

But then, why not simply use this.defineStep() in all cases?

Definitely not the top priority right now though :) I'm applying the aforementioned workaround for now but it should be fixed some day.

@jbpros jbpros closed this as completed in a1ffeeb Nov 4, 2011
@lock
Copy link

lock bot commented Oct 25, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant