Sha256: 76b802e306806f70f1cf5b95571e232c17e8a8bfb6fd697c9936fda43a0d628f
Contents?: true
Size: 978 Bytes
Versions: 6
Compression:
Stored size: 978 Bytes
Contents
# frozen_string_literal: true namespace :coverband do Coverband.configure def environment Rake.application['environment'].invoke if Rake::Task.task_defined?('environment') end desc 'report runtime Coverband code coverage' task :coverage do environment if Coverband.configuration.reporter == 'scov' Coverband::Reporters::HTMLReport.report(Coverband.configuration.store) else Coverband::Reporters::ConsoleReport.report(Coverband.configuration.store) end end ### # clear data helpful for development or after configuration issues ### desc 'reset Coverband coverage data, helpful for development, debugging, etc' task :clear do environment Coverband.configuration.store.clear! end ### # clear data helpful for development or after configuration issues ### desc 'upgrade previous Coverband datastore to latest format' task :migrate do environment Coverband.configuration.store.migrate! end end
Version data entries
6 entries across 6 versions & 1 rubygems