Sha256: cbfde85f893d9e7cae0c558d75dbc4eb7a043902b02357b7170867b6f0f2fde8

Contents?: true

Size: 686 Bytes

Versions: 1

Compression:

Stored size: 686 Bytes

Contents

# frozen_string_literal: true

require "simplecov_json_formatter"

SimpleCov.formatter = if ENV.fetch("CI", false)
  SimpleCov::Formatter::JSONFormatter
else
  SimpleCov::Formatter::HTMLFormatter
end

SimpleCov.minimum_coverage(90)
SimpleCov.start do
  enable_coverage :branch
  primary_coverage :branch

  add_filter "/test/"

  add_group "Calls", "lib/lunchmoney/calls"
  add_group "Objects", "lib/lunchmoney/objects"
  add_group "Core Files", [
    "lib/lunchmoney.rb",
    "lib/lunchmoney/api.rb",
    "lib/lunchmoney/configuration.rb",
    "lib/lunchmoney/errors.rb",
    "lib/lunchmoney/exceptions.rb",
    "lib/lunchmoney/validators.rb",
    "lib/lunchmoney/version.rb",
  ]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lunchmoney-1.4.0 .simplecov