Sha256: 05447b215c0321d647b1209428c43c2f5978dc544a2acc3fe267d15341de5cc8

Contents?: true

Size: 442 Bytes

Versions: 7

Compression:

Stored size: 442 Bytes

Contents

require 'simplecov'

if ENV['SIMPLECOV_RCOV_OUTPUT']
  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
end

SimpleCov.start do
  add_filter "/spec/"
  add_filter "/db/"
  add_filter "/vendor/"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rivendell-import-1.04 spec/simplecov-default.rb
rivendell-import-1.03 spec/simplecov-default.rb
rivendell-import-1.02 spec/simplecov-default.rb
rivendell-import-1.01 spec/simplecov-default.rb
rivendell-import-0.10 spec/simplecov-default.rb
rivendell-import-0.9 spec/simplecov-default.rb
rivendell-import-0.8 spec/simplecov-default.rb