我真的很想看看在我的应用程序中遗漏了哪些代码/功能,这是Ruby和Java的混合。几年前,我为C代码使用了一个很好的代码覆盖工具,这使得我很容易看到需要执行的内容。
发布于 2012-04-25 12:08:51
试试这些关于RCov和simple_cov的文章
http://highgroove.com/articles/2011/03/01/code-coverage-and-ruby-1-9.html
http://www.storm-consultancy.com/blog/development/tools-plugins/generating-code-coverage-metrics-for-a-ruby-on-rails-project-with-simplecov/
rails_code_qa使用了上述两种方法,因此也值得一看。
https://sqa.stackexchange.com/questions/3041
复制相似问题