Skip to content

Instantly share code, notes, and snippets.

@edipofederle
Created July 30, 2010 13:08
Show Gist options
  • Select an option

  • Save edipofederle/500479 to your computer and use it in GitHub Desktop.

Select an option

Save edipofederle/500479 to your computer and use it in GitHub Desktop.
desc "Run all examples with RCov"
Spec::Rake::SpecTask.new('examples_with_rcov') do |t|
t.spec_files = FileList['spec/*.rb']
t.rcov = true
t.rcov_opts = ['--exclude', 'spec']
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment