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

Gherkin Wiki issue: "matched to a Ruby code block called Step Definitions" #3

Closed
dandv opened this issue Jul 31, 2015 · 3 comments
Closed

Comments

@dandv
Copy link

dandv commented Jul 31, 2015

I'm new to Cucumber, so pardon me if this is a stupid question.

At https://github.com/cucumber/cucumber/wiki/Gherkin#gherkin-syntax, I see

When you run the feature the trailing portion (after the keyword) of each step is matched to a Ruby code block called Step Definitions.

I'm trying to understand this better. This is my first exposure to Gherkin, from the link at https://github.com/cucumber/cucumber-js#features.

  1. Must the code block be Ruby? I arrived here from the JS port.
  2. Where is that code located?
  3. Should "Step Definitions" be "Step Definition" in that quote?
@mattwynne
Copy link
Member

Hi Dan,

Sorry this is all so confusing, and thanks indeed for feeding back to us. Try this link instead: https://cucumber.io/docs/reference#step-definitions

We've been gradually trying to migrate the chaotic wiki docs over to the website, but at the moment things are between two places.

@mattwynne
Copy link
Member

Also, there are no stupid questions!

@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

2 participants