Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find a Gherkin language spec/guide?

Tags:

I'm trying to find out all available syntax/format in Gherkin, such as about multiline argument and everything else I don't know yet.

After digging Google search results though, it seems that the comprehensive guide is located in here:

I thought that was pretty good, and it has a link to a page that supposedly describes multiline arguments and others, but it took me to 404 Not found instead =(.

Does anybody have better suggestion on where to read up about this?

EDIT: to stress that I've done so many Google searches. It gives some rather good sites like specflow and cuke4ninja, but none of them gives comprehensive description of Gherkin. If someone finds an answer to this through Google search, then please feel free to call me a Googling noob and suggestions to improve are welcome.

like image 858
ryaner Avatar asked Jun 03 '11 00:06

ryaner


People also ask

How do you learn the Gherkin language?

Gherkin SyntaxEach line called step and starts with keyword and end of the terminals with a stop. Tab or space are used for the indentation. In this script, a comment can be added anywhere you want, but it should start with a # sign. It read each line after removing Ghrekin's keywords as given, when, then, etc.

What is Gherkin Specflow?

Gherkin uses a set of special keywords to give structure and meaning to executable specifications. Each keyword is translated to many spoken languages; in this reference we'll use English.


2 Answers

The best place I know of to understand the Gherkin language is the wiki that you link to. However, as you found there's sometimes a broken link there. What I tend to do is to click the "Pages" link at the bottom of the gray bar with all the GitHub links in it. That takes you to an alphabetical listing of all the wiki pages, including this one for Multiline Step Arguments.

like image 134
Andy Tinkham Avatar answered Dec 22 '22 13:12

Andy Tinkham


It's not free, but The Cucumber Book has a complete guide to Gherkin.

Disclaimer: I'm a co-author of the cucumber book.

like image 43
Matt Wynne Avatar answered Dec 22 '22 13:12

Matt Wynne