开发者

Where can I find a Gherkin language spec/guide?

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 p开发者_高级运维retty 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.


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.


Gherkin syntax can be checked on Behat website where you can also check examples for PHP language.


The BNF grammar understood by Cucumbe is available online. The JBehave project also published an EBNF grammar of the language which can be used for writing .feature files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜