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 的 差好多了哦
- struts2<s:if test=${pb.pageTotal>0}>出现有关问题 如果小弟我这样写是正确的<s:if test=#request.pb.pageT
- 使用<s:if test="">咋办判断数组的大小解决方法
- jsp分页有关问题<c:when test="${pageNo}>1">
- 为什么的配置JAVA变量后用 TEST.JAVA测试,不输出也不报错,该怎么解决
- 关于<s:if test=?>的使用,该怎么处理
- 关于java Unit test,该怎么解决
- test() == true 跟 true == test() 有什么区别
- Managed Extensibility Framework 与Unity啥关系啊解决方案
- play framework 的重要概念
- .NET Framework 3.5中的webbrowser控件支持HTML5吗?如其不支持有其他支持的浏览器控件吗
- .NET Framework 3.5中的webbrowser控件支持HTML5吗?如果不支持有其他支持的浏览器控件吗,该如何解决
- vc++.net能离开.net framework 的支持吗解决方法
- 晕!装.NEt Framework v1.1竟然找不到System.Data.OracleClient
- 为什么小弟我在安装.NET Framework v1.1时显示无法访问WINDOWS安装程序组件
- win2003+IIS6.0 网站替vs2008编译,使用.NET framework 2.0 项目中使用sdk为3.5 是否可以正确运行
- ADO.NET entity framework 数据表添加数据的有关问题
- CS0016: 未能写下输出文件“c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
- entity framework db.SaveChangs() 和事务的有关问题
- Entity Framework 映射片段出现有关问题
- This setup requires .NET Framework version 1.1.4322.该怎么解决
- 大侠们,服务器有几个.net framework 的漏洞需要打吗,小弟我是asp.net网站
- entity framework 能和 mongo db 结合起来用吗?解决方法
- entity framework,主从表,事务自增键有关问题
- vs2008 .net framework 2.0项目怎么升级到3.5
- asp.net entity framework code first 更新数据库?解决思路
- .NET Framework 中定义的错误类有那些
- entity framework 怎么给外键的字段付值
- entity Framework 中多字段排序,其中有个bit类型解决方案