title: Why isn't simplecov checking any of my rails views?
body: <p>I installed simplecov on a new rails project, but it's not checking the view files.  After reading some <a href="https://stackoverflow.com/questions/22075516/simple-cov-gem-missing-untested-files">other posts on this issue</a> I've updated my application as follows, but no dice.  How do I get simplecov to test my views too?</p>
  
  <p><strong>spec/spec_helper.rb</strong></p>
  
  <pre><code>require 'simplecov'
  SimpleCov.start do
    add_filter "/spec/"
    add_filter "/config/"
    add_group "Models", "app/models"
    add_group "Controllers", "app/controllers"
    add_group "Views", "app/views"
    # TODO: why isn't SimpleCov showing my view files?
  end
  ...
  </code></pre>
  
  <p><strong>config/environments/test.rb</strong></p>
  
  <pre><code>Rails.application.configure do
    # Settings specified here will take precedence over those in config/application.rb.
  
    # Do not eager load code on boot. This avoids loading your whole application
    # just for the purpose of running a single test. If you are using a tool that
    # preloads Rails for running tests, you may have to set it to true.
    config.eager_load = true 
    ...
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/1Tq9c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1Tq9c.png" alt="simplecov not testing views"></a></p>