Sha256: e3a0bcc2bebac9d7aa8a972177a5746311136843ff684b5e0178de28a42d0476

Contents?: true

Size: 472 Bytes

Versions: 8

Compression:

Stored size: 472 Bytes

Contents

if ENV["COV"] || ENV["COVERAGE"]
  require 'simplecov-rcov'
  require 'simplecov-csv'
  class SimpleCov::Formatter::MergedFormatter
    def format(result)
       SimpleCov::Formatter::RcovFormatter.new.format(result)
       SimpleCov::Formatter::HTMLFormatter.new.format(result)
       SimpleCov::Formatter::CSVFormatter.new.format(result)
    end
  end
  SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter
  SimpleCov.start do
    add_filter "/spec/"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
io_shuten-0.1.0.dev7 .simplecov
io_shuten-0.1.0.dev6 .simplecov
io_shuten-0.0.3.dev1 .simplecov
io_shuten-0.0.1.dev5 .simplecov
io_shuten-0.0.1.dev4 .simplecov
io_shuten-0.0.1.dev3 .simplecov
io_shuten-0.0.1.dev1 .simplecov
io_shuten-0.0.1.dev0 .simplecov