加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby-on-rails – Ruby on rails集成和功能测试之间的区别

发布时间:2020-12-16 21:33:58 所属栏目:百科 来源:网络整理
导读:我想知道,如果我使用集成测试,是否需要进行功能测试?那么验收测试呢?我很难理解,如果我能坚持集成测试,那么就忘了功能测试? 解决方法 你读过官方的Rails指南吗? In Rails,testing the various actions of a single controller is called writing functio
我想知道,如果我使用集成测试,是否需要进行功能测试?那么验收测试呢?我很难理解,如果我能坚持集成测试,那么就忘了功能测试?

解决方法

你读过官方的Rails指南吗?

In Rails,testing the various actions of a single controller is called
writing functional tests for that controller.

http://guides.rubyonrails.org/testing.html#functional-tests-for-your-controllers

Integration tests are used to test the interaction among any number of
controllers. They are generally used to test important work flows
within your application.

http://guides.rubyonrails.org/testing.html#integration-testing

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读