1 require('spec/rake/spectask')
2 require('spec/rake/verify_rcov')
5 (Dir.glob('spec/**/*_spec.rb') << 'spec/spec_helper.rb').join(',')
9 Spec::Rake::SpecTask.new(:spec) do |t|
10 t.spec_files = 'spec/**/*.rb'
11 t.spec_opts = ['--color']
13 t.rcov_opts = ['--html', '--exclude', ignored_spec_files] # '--xrefs'
14 t.rcov_dir = 'doc/rcov'
17 desc "Run specs with coverage verification"
18 RCov::VerifyTask.new(:coverage => :spec) do |t|
20 t.index_html = 'doc/rcov/index.html'