Sha256: 776dfae8e9465e0d11e1626d061f0dcbab751c4f5a3eaf5f13ee1da499be0c51

Contents?: true

Size: 628 Bytes

Versions: 41

Compression:

Stored size: 628 Bytes

Contents

require 'simplecov-rcov'
class SimpleCov::Formatter::MergedFormatter
  def format(result)
    SimpleCov::Formatter::HTMLFormatter.new.format(result)
    SimpleCov::Formatter::RcovFormatter.new.format(result)
  end
end
SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter

SimpleCov.start do
  coverage_dir 'test/coverage'

  load_profile 'rails'

  add_group 'Controllers', 'app/controllers'
  add_group 'Mailers', 'app/mailers'
  add_group 'Models', 'app/models'
  add_group 'Helpers', 'app/helpers'
  add_group 'Libraries', 'lib'

  add_filter 'db'
  add_filter 'test'
  add_filter 'config'
  add_filter 'vendor'
end


Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
railman-0.2.0 templates/rails_app/.simplecov