Sha256: d27b4a2045e269f760ab9a5c2cec2c3610b8d24c3d6ad08c001b00ae2fb1a6ac
Contents?: true
Size: 426 Bytes
Versions: 9
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true namespace :coverage do task :report do require "simplecov" require "simplecov-console" SimpleCov.minimum_coverage 99 SimpleCov.collate Dir["simplecov-resultset-*/.resultset.json"], "rails" do formatter SimpleCov::Formatter::Console add_group "Ignored Code" do |src_file| File.readlines(src_file.filename).grep(/:nocov:/).any? end end end end
Version data entries
9 entries across 9 versions & 1 rubygems