Cucumber and Rspec

社会主义新天地 提交于 2019-12-04 08:12:04

I think the RSpec Book is an excellent resource on Cucumber, RSpec and BDD.

Agree - the RSpec Book provides a wealth of information. I found getting the flow was a big problem in the learning. The book gives you the quick intro, then dives into details and by the time you surface your head will be swimming. It takes a couple of goes of reading the book to get the finer points.

Another great read is a blog post by Sarah Mei called Outside-In BDD. This dialog really help to make things gel since it's demonstrating the application of Cucumber/Rspec in the context of the flow a developer would go through.

Then there is the classics such as the Railscast from Ryan Bates. There are a couple of episodes on Cucumber and other tools and the snippets give you a nice overview after you've soaked up the RSpec book.

For Rspec you can read the Michael Hartl book "Rails 3 tutorial" there is a lot of testing examples : Here the online book

For cucumber, you can watch teachmetocode screencasts (website) . There are good examples using cucumber when building an application from scratch.

Hope it could help!

Screencast walk-throughs can be good sources to grok them

Peepcode has a few, like this one on Cucumber, which has been updated this year - so I'm assuming it's good for rails 3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!