Rake task for generating code coverage.

This commit is contained in:
Yorick Peterse 2014-03-28 16:33:47 +01:00
parent e141c084f9
commit c366a96ce8
1 changed files with 6 additions and 0 deletions

6
task/coverage.rake Normal file
View File

@ -0,0 +1,6 @@
desc 'Generates code coverage'
task :coverage do
ENV['COVERAGE'] = '1'
Rake::Task['test'].invoke
end