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.
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.
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.
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.
It's not free, but The Cucumber Book has a complete guide to Gherkin.
Disclaimer: I'm a co-author of the cucumber book.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With