在Ruby on Rails上学习BDD的路径是什么? [英] What is the Path to Learn BDD on Ruby On Rails?
问题描述
我想在Ruby On Rails上启动BDD,我应该学习什么?
我不知道有关BDD,RSpec或Cucumber的任何信息。什么是最好的学习方法?教程?
感谢!
RSpec专用;我保留这些链接参考(可能提前为初学者)。但只是想与你分享。 (其中一些可能已经过时,但我认为仍值得一读)
RSpec在控制器:
< a href =http://www.movesonrails.com/articles/2008/01/23/spec-ing-your-application-controller =noreferrer>使用rSpec测试您的应用程序控制器 p>
RSpec型号:
stub_model by Dave Chelimsky
我们真的需要Controller和View测试吗? - 一些讨论
视图中的RSpec:
Rspec故事(现为Cucumber):
RSpec,autotest和snarl在Windows - dunno如果这仍然相关
p / s:有些是从2007年,我不知道如果东西过时的或不,但这些是我的一些参考用来学习RSpec。希望它有帮助
I want to start BDD on Ruby On Rails what should I learn? I don't know anything about BDD, RSpec or Cucumber. What is the best way to learn? Tutorials? Something that cover things like 'What behavior I should test?' etc.
thanks!
RSpec specific; I keep these links for reference (might be advance for beginners). But just wanna share it with you. (Some of it probably already outdated but I think still worth a read)
Rspec Link Fest - links to other references
RSpec in Controllers: Testing your Application Controller with rSpec
Testing Controllers with rspec
RSpec in Models: stub_model by Dave Chelimsky
Do we really need Controller and View tests? - some discussion
RSpec in Views:
RSpec testing views for escaped HTML
Rspec Stories (now Cucumber):
Understanding RSpec Stories - a Tutorial
Rspec on Windows:
RSpec, autotest and Snarl on Windows - dunno if this still relevant
p/s: Some are from 2007, I'm not sure if the stuffs are outdated or not, but these are the some of my references used to learn RSpec. Hope it helps
这篇关于在Ruby on Rails上学习BDD的路径是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!