for integration test, i have no prefer between the default Test:Unit? and? Rspec. ? just stick to one framework inside a project, no need to mix the two in one project. ? A second option is?Cucumber, which works nicely with RSpec and allows the definition of plain-text stories describing application behavior. Many Rails programmers find Cucumber especially convenient when doing client work; since they can be read even by non-technical users, Cucumber tests, or “scenarios”, can be shared with (and can sometimes even be written by) the client. Of course, using a testing framework that isn’t pure Ruby has a downside, and I find that the plain-text stories can be a bit verbose and (cu)cumbersome. Since we don’t have any client requirements in?Rails Tutorial, and since I strongly prefer a pure-Ruby testing approach in any case, we’ll stick to RSpec integration tests in this book. Nevertheless, I suggest taking a look at some?Cucumber tutorials?to see if it suits you.
详细解决方案
八 what test framework should you use
热度:29 发布时间:2016-05-02 00:16:59.0
相关解决方案
- struts2标签 <s:if test="表达式">表达式的写法解决方案
- java 的升格比.net framework 的 差好多了哦
- <input name="test[0].name"><input name="test[1].name">像这样的表单在servlet中怎么获取
- spring framework 3.0.2之后的版本为什么没有依赖包了
- 在<c:if test>中怎么使用一个类的属性
- struts2<s:if test=${pb.pageTotal>0}>出现有关问题 如果小弟我这样写是正确的<s:if test=#request.pb.pageT
- 使用<s:if test="">咋办判断数组的大小解决方法
- STRUTS2.0 s:if标签中 TEST 比较有关问题
- jsp分页有关问题<c:when test="${pageNo}>1">
- java连接数据库 无法打开登录所请求的数据库 "Test"登录失败,该如何处理
- java连接数据库 没法打开登录所请求的数据库 "Test"登录失败
- 为什么的配置JAVA变量后用 TEST.JAVA测试,不输出也不报错,该怎么解决
- 关于<s:if test=?>的使用,该怎么处理
- 关于java Unit test,该怎么解决
- nested exception is org.springframework.aop.framework.AopConfigException:
- netbeans下一版本6.1,将加入对PHP,Spring Framework 和 Hibernate Framework 提供整合级支持,请看来自这里的NetBeans官方计划!该怎么解决
- test() == true 跟 true == test() 有什么区别
- Managed Extensibility Framework 与Unity啥关系啊解决方案
- Play framework 2.0入门教程(3)
- Play framework 2.0入门教程(2)
- django rest framework 入门二——Request and Response
- play framework 的简略demo——hello
- play framework 的重要概念
- .NET Framework 3.5中的webbrowser控件支持HTML5吗?如其不支持有其他支持的浏览器控件吗
- Tx Test Control 页面布局有关问题
- .NET Framework 3.5中的webbrowser控件支持HTML5吗?如果不支持有其他支持的浏览器控件吗,该如何解决
- .net Execl 导入导出控件 71Info.Framework.Tool.dll 跟71Info.Framework.Web.dll绝对好用
- vc++.net能离开.net framework 的支持吗解决方法
- 晕!装.NEt Framework v1.1竟然找不到System.Data.OracleClient
- 为什么小弟我在安装.NET Framework v1.1时显示无法访问WINDOWS安装程序组件