Finding Code coverage for rails project

时间:2018-06-20 05:02:09

标签: ruby-on-rails ruby simplecov

Problem Statement: To find the code coverage for a rails project. We are using a separate repository for test framework which follows RSpec-Capybara structure. Are there any tools/gems to find the coverage where tests are outside the dev repository?

Also, We have already used 'simplecov' gem for finding coverage of unit tests, so can it be used in a case where dev and test repo are different? If yes, then how?

1 个答案:

答案 0 :(得分:0)

https://github.com/colszowka/simplecov这颗宝石应满足您的要求。