How to test code coverage for Rails ERB templates? How to test code coverage for Rails ERB templates? ruby ruby

How to test code coverage for Rails ERB templates?


See: How do I get coverage for view specs with rspec, rails, and simplecov?

The answer being, you can't:

https://github.com/colszowka/simplecov/issues/38

It's critical flaw that I hope someone will address.AFIK there is nothing better than simplecov for Ruby 1.9


try rake stats

it would generate a table having the coverage of each of the parts of the app