Sha256: 6de3b7c41afed6d557c0732ba3829dd16d22a2d820ff41b07b6b7e70456079e5

Contents?: true

Size: 562 Bytes

Versions: 23

Compression:

Stored size: 562 Bytes

Contents

require "simplecov-json"

coverage_dir = '../../coverage/rails'
FileUtils.rm_rf coverage_dir

SimpleCov.coverage_dir coverage_dir
SimpleCov.command_name "rails"
SimpleCov.maximum_coverage_drop 1
SimpleCov.formatters = [
  SimpleCov::Formatter::HTMLFormatter,
  SimpleCov::Formatter::JSONFormatter,
]
SimpleCov.start do
  profiles.delete(:root_filter)
  filters.clear
  add_filter do |src|
    if src.filename =~ %r{sapience\-rb|\/usr\/src\/app/}
      src.filename.include?("test_apps/rails")
    else
      true
    end
  end

  add_group "Sapience", "../"
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
sapience-1.0.11 test_apps/rails/.simplecov
sapience-1.0.10 test_apps/rails/.simplecov
sapience-1.0.9 test_apps/rails/.simplecov
sapience-1.0.8 test_apps/rails/.simplecov
sapience-1.0.7 test_apps/rails/.simplecov
sapience-1.0.6 test_apps/rails/.simplecov
sapience-1.0.5 test_apps/rails/.simplecov
sapience-1.0.4 test_apps/rails/.simplecov
sapience-1.0.3 test_apps/rails/.simplecov
sapience-1.0.2 test_apps/rails/.simplecov
sapience-1.0.1 test_apps/rails/.simplecov
sapience-1.0.0 test_apps/rails/.simplecov
sapience-0.2.18 test_apps/rails/.simplecov
sapience-0.2.17 test_apps/rails/.simplecov
sapience-0.2.16 test_apps/rails/.simplecov
sapience-0.2.15 test_apps/rails/.simplecov
sapience-0.2.14 test_apps/rails/.simplecov
sapience-0.2.13 test_apps/rails/.simplecov
sapience-0.2.12 test_apps/rails/.simplecov
sapience-0.2.11 test_apps/rails/.simplecov