推荐阅读学习小黄瓜

发布于 2024-10-20 13:38:04 字数 1539 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

临走之时 2024-10-27 13:38:04

RSpec 书是一本很棒的书,介绍了 BDD、Rspec(作为 .net 开发人员,您应该查看 MSpec)和基于 Gherkin 的 Cucumber 的一些概念。

最好的免费可打印资源是很棒的 cuke4ninja ,它有一个可打印的 pdf 文件(请按照 README.md 中的说明进行操作) github 来创建)。

NINJA Cucumber!

有一个 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).

NINJA Cucumber!

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.

故乡的云 2024-10-27 13:38:04

我使用写作功能 - Gherkin 语言作为工作中新人的推荐入门,并且效果很好真的很好

I've used Writing Features - Gherkin Language as the recommended introduction for newcomers at work, and it has worked out really good

哽咽笑 2024-10-27 13:38:04

我将从官方 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.

吃→可爱长大的 2024-10-27 13:38:04

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

裂开嘴轻声笑有多痛 2024-10-27 13:38:04

如果您正在寻找离线的东西,我强烈推荐 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文