学习黄瓜和RSpec的好来源?

时间:2010-11-01 18:47:56

标签: ruby-on-rails testing rspec cucumber

学习Cucumber和RSpec有哪些好的视频,文章,电子书等?

我知道PeepCode的截屏视频和来自Pragmatic的RSpec Book,但不确定是否还有其他可靠资源。

3 个答案:

答案 0 :(得分:13)

Ruby社区的伟大之处在于愿意分享;当然有像O'Reilly和Red Dirt这样的公司不会放弃他们的视频,因此我不再购买他们的产品和/或不会参加他们的会议。

以下是一些关于黄瓜和RSpec的视频:
BDD with Cucumber
Cucumber: Automating the Requirements Language You Already Speak
Behaviour Driven Development with RSpec
Working Outside-in with Cucumber and RSpec
Beyond Test Driven Development: Behaviour Driven Development

关于TDD / BDD的一些一般视频:
Test-Driven Development and Refactoring - Part One
Test-Driven Development and Refactoring - Part Two

Ruby对象模型上最好的免费视频之一
(看完之后我买了Pragmatic series on metaprogramming):
The Ruby Object Model - Dave Thomas

以下是一些网站我收到了一些很棒的视频:
http://confreaks.net/videos
http://www.bestechvideos.com/
http://www.engineyard.com/blog/community/scotland-on-rails/

哦,不要忘记Google videos

这是一篇很棒的小博文,内容包含20篇关于Cucumber的文章:
http://www.robbyonrails.com/articles/2009/04/09/20-articles-on-cucumber-and-a-free-beverage-recipe

答案 1 :(得分:2)

BDDcasts.com上有几个付费的截屏视频,涵盖了黄瓜:

http://bddcasts.com/series/urlagg/episodes/cucumber-part-1

http://bddcasts.com/series/urlagg/episodes/cucumber-part-2

在github wiki上还有关于黄瓜的博客文章和教程的反向时间顺序排序:

http://github.com/aslakhellesoy/cucumber/wiki/tutorials-and-related-blog-posts

答案 2 :(得分:1)

我还会推荐Ryan Bates Railscasts剧集:

http://railscasts.com/episodes?search=cucumber

或他的所有测试资源,包括RSpec:

http://railscasts.com/tags/7

最后,我总是通过回顾其他人项目的特点来学到很多东西。然后你可以看到一些真实世界的用法,而不仅仅是一些定制的例子。例如:

https://github.com/radiant/radiant/tree/master/features/

享受!