Search for rail test coverage

I just saw this problem in rails log trackers:

https://github.com/rails/rails/issues/2667

And I would like to know which parts of the code are not covered. I could not find the coverage tool in Rakefiles, and finding it is a little disappointing, as it returns much more results about the test coverage in your rails application than in the test coverage of the framework itself.

Has anyone created a code coverage tool? Is there any documentation on how to do this?

+6
source share
1 answer

Rcov (or SimpleCov for 1.9) is the standard tool for covering Ruby code. This should be simple enough for one of them to run rail tests.

+3
source

Source: https://habr.com/ru/post/895717/


All Articles