Sha256: f383c9e1474abc6de4bd2bc027ef4a248ea6c2871fbff229500f08cd0eb3e083
Contents?: true
Size: 506 Bytes
Versions: 17
Compression:
Stored size: 506 Bytes
Contents
require 'spec/rake/spectask' require 'spec/rake/verify_rcov' desc "Generate RCov report" Spec::Rake::SpecTask.new(:rcov) do |t| t.spec_files = FileList['spec/**/*_spec.rb'] t.rcov = true t.rcov_dir = 'doc/coverage' t.rcov_opts = ['--text-report', '--exclude', "gems/,features/,/Library,spec/,rcov.rb"] end namespace :rcov do desc "Verify RCov threshold" RCov::VerifyTask.new(:verify => :rcov) do |t| t.threshold = 98.12 t.index_html = 'doc/coverage/index.html' end end
Version data entries
17 entries across 17 versions & 3 rubygems