Questions tagged «testunit»


9
Ruby on Rails:从test_unit切换到rspec
我正在阅读建议使用的教程rspec,但是我已经经历了许多默认的rails安装。我真的完全不需要重做安装。反正我跑步 $ rails g integration_test named 我懂了 invoke test_unit create test/integration/named_test.rb 当我运行时bundle,rspec列出了各种宝石,但test_unit没有列出。本教程似乎有Rails调用,rspec而不是test_unit不做任何其他事情。如何使Railsrspec与Integration Test Generator命令一起使用?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.