Sha256: 89792a81ad7f7ba5cd6be0af77cc6fb26580a6489fe4f5fae7a5ff15f9812a8f

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

require 'simplecov_json_formatter'
require 'simplecov-console'

formatters = [
  SimpleCov::Formatter::HTMLFormatter,
  SimpleCov::Formatter::JSONFormatter
]

# rubocop:disable Style/IfUnlessModifier
if RSpec.configuration.files_to_run.length > 1
  formatters << SimpleCov::Formatter::Console
end
# rubocop:enable Style/IfUnlessModifier

SimpleCov.start do
  formatter SimpleCov::Formatter::MultiFormatter.new(formatters)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
svgeez-4.1.0 .simplecov
svgeez-4.0.0 .simplecov