[英]Tools to write Integration tests with rspec 1, rails 2.3, ruby 1.8.7
I've an application running with this setup: 我有一个使用此设置运行的应用程序:
I want to write some integration tests and wanted to use capybara
, unfortunally as far as I've researched it is not compatible with that setup. 我想写一些集成测试并想使用
capybara
,不幸的是,据我研究,它与该设置不兼容。 The latest capybara
version compatible with rails 2
is 1.1.4
but it requires rubyzip
that requires ruby 1.9
. 与
rails 2
兼容的最新capybara
版本是1.1.4
但是它需要rubyzip
和ruby 1.9
。 I tried installing rubyzip 0.9.9
that is compatible with ruby 1.8
, but seems like that version of capybara is not compatible with it. 我尝试安装与
ruby 1.8
兼容的rubyzip 0.9.9
,但似乎该版本的水豚与此不兼容。 So I dont know if it worth to try with an even older capybara version, or if is better to use other tool like webrat
. 因此,我不知道是否值得尝试使用甚至更老的水豚版本,或者是否最好使用
webrat
类的其他工具。
What alternatives do I have to write integration tests on this setup? 我必须在该设置上编写集成测试什么替代方法? What would be your choice?
您会选择什么?
我建议去那时候使用Cucumber和Webrat,IIRC。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.