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

Step Definitions are getting missed when parsing the step definitions because of new standard #48

Closed
burtlo opened this issue Jun 4, 2013 · 2 comments
Labels

Comments

@burtlo
Copy link
Owner

burtlo commented Jun 4, 2013

Also, since cucumber/gherkin is now recommending parentheses around step definition regexes cucumber/common#328 , that means IDEs like RubyMine are including them with default step-def generation. They then get missed during step:>step-def matching when I switch to the older cucumber/gherkin gems to generate docs. I'm correcting for that with my script but it's a bit of a kludge. Since your gem utilizes the loaded cucumber/gherkin to generate its parsing rules, I imagine the need for that handling would go away with a yard-cucumber update.

@burtlo
Copy link
Owner Author

burtlo commented Jul 12, 2013

I updated a few step definitions to use the suggested parentheses and:

  • the step definition was able to be found
  • the step definition matched to the appropriate steps

@burtlo burtlo closed this as completed Jul 12, 2013
@snowe2010
Copy link
Contributor

We're encountering this issue. What is the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants