Skip to content

Simple-rcov doesn't see all models #15

@Draqun

Description

@Draqun

Hi. I'm new in RoR and I have a little problem with your gem. In my situation he doesn’t see a few models

app/
  models/
     data_set/
       user.rb <- 
     synchronization_report/
       data_set.rb <- not included in the report
       data_area.rb <- not included in the report
       job.rb
   alert_definiion.rb
   alert_sent_history.rb
   data_set.rb <- not included in the report
   data_set_synch_agent.rb
   exchange_server.rb
   general_setting.rb
   synch_agent.rb
   synchronization_report.rb <- not included in the report
   text_placeholder.rb
   user.rb <- not included in the report

In my spec_helper.rb I add

require 'simplecov'
require 'simplecov-rcov'

SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
SimpleCov.start 'rails' do
  add_filter "/vendor/"
  add_filter "/ruby_gems/"
  add_filter "/spec/"
end
Rails.application.eager_load!

code coverage for datasynchronizatorms 2015-07-16 11-01-16

What is wrong with my configuration?

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions