We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
RSpec 书是一本很棒的书,介绍了 BDD、Rspec(作为 .net 开发人员,您应该查看 MSpec)和基于 Gherkin 的 Cucumber 的一些概念。
最好的免费可打印资源是很棒的 cuke4ninja ,它有一个可打印的 pdf 文件(请按照 README.md 中的说明进行操作) github 来创建)。
有一个 BNF 定义 https://github.com/aslakhellesoy/gherkin/wiki/BNF 如果你有这种倾向。
现在也有一本Cucumber 书
编辑:看起来 cuke4ninja.com 已经不再是原来的样子了(现在是一些约会网站),但该网站仍然保留在 github 上。上面的链接已更改。
The RSpec book is a great book to introduce some of the concepts of BDD, Rspec(as a .net dev you should check out MSpec) and Cucumber which is a based on Gherkin.
The best free printable resource is the awesome cuke4ninja which has a PRINTABLE pdf (follow instructions in README.md on github to create).
There is a BNF definition https://github.com/aslakhellesoy/gherkin/wiki/BNF if you are that way inclined.
There's a Cucumber book out now too
EDIT: It looks cuke4ninja.com isn't what it was anymore (it's now some dating site) but the site is still kept on github. The link above has been changed.
我使用写作功能 - Gherkin 语言作为工作中新人的推荐入门,并且效果很好真的很好
I've used Writing Features - Gherkin Language as the recommended introduction for newcomers at work, and it has worked out really good
我将从官方 Gherkin 语言页面开始,然后从那里开始工作。它是一个足够广泛的概述,可以获取主要组件并向人们展示它实际上只是一种人类可读的业务语言,用于记录需求。
从那里我将扩展到 官方 Cucumber 教程或查看此博文了解更多信息。
如果您正在寻找可以固定的东西,您应该选择RSpec Book 其中包括小黄瓜和黄瓜;该语言非常简洁,可以快速覆盖和学习,因此您不太可能找到一本专门介绍 Gherkin 的书。
I would start with the official Gherkin Language Page and work your way from there. It is a broad enough overview to get the major components and show people that it's really just a human-readable, business language for getting requirements down.
From there I would expand to the The Official Cucumber Tutorials or checkout this blog post for more insight.
If you're looking for something to hold, you should pick up The RSpec Book which covers Gherkin and Cucumber; the language is so terse that it can be quickly covered and learned, so you're unlikely to find a book dedicated to just Gherkin.
这是我与 Cucumber 和 Gherkin 合作多年的指南
https: //docs.google.com/document/d/1pkhePZ7eaOWskai3gmopa4Sp6o88r1kGZITVRs_PN7Q/pub
This is a guide I've put together from a few years of working with Cucumber and Gherkin
https://docs.google.com/document/d/1pkhePZ7eaOWskai3gmopa4Sp6o88r1kGZITVRs_PN7Q/pub
如果您正在寻找离线的东西,我强烈推荐 RSpec Book (http://www.pragprog.com/titles/achbd/the-rspec-book)。这是一本很棒的书,不仅介绍了 BDD,还介绍了 Cucumber 和 Gherkin。
关于如何编写出色的小黄瓜,我发现这篇文章非常有用: http://www.engineyard.com/blog/2009/15-expert-tips-for-using-cucumber/
祝你好运
If you're looking for something that is offline I cannot recommend The RSpec Book (http://www.pragprog.com/titles/achbd/the-rspec-book) enough. It's a great book and introduces not only BDD, but also Cucumber and Gherkin.
On how to write great Gherkin I have found this article very useful: http://www.engineyard.com/blog/2009/15-expert-tips-for-using-cucumber/
Good luck