Nexus Weblogging
ChinaonRails
You are here ChinaonRails > 网站 > > 当真需要 Controller and View tests? 还是彻底测试,见仁见智-大家讨论

bd7lx


58.278%

online now
登录后回复主题 | 跳到回复

当真需要 Controller and View tests? 还是彻底测试,见仁见智-大家讨论

... by bd7lx ... 6 月 9 天前 ... 128 次点击

Do we really need Controller and View tests?

http://www.railway.at/articles/2008/05/14/do-we-really-need-controller-and-view-tests

把蛋糕做大

逻辑都放到模型里

http://chinaonrails.com/topic/view/307.html

还用着过度化的测试?



不测试标准化的actions,假如有自定义的,就要测试

测试所有的model和helper

还有路由,Ajax

目前这个主题还没有回复,或许你可以帮楼主加盖一层?

在回复之前你需要先进行登录
电子邮件或昵称
密码
© 2007 A Jesse Cai Production   -   About   -   京ICP备07020911号
a site powered by Project Babel