1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Integrate simplecov

This commit is contained in:
Mike Perham 2012-01-23 21:02:54 -08:00
parent f696307b1d
commit 10e1f12e8b
3 changed files with 14 additions and 0 deletions

View file

@ -1,2 +1,4 @@
source 'http://rubygems.org' source 'http://rubygems.org'
gemspec gemspec
gem 'simplecov', :require => false, :group => :test

View file

@ -16,6 +16,10 @@ GEM
multi_json (1.0.4) multi_json (1.0.4)
rake (0.9.2.2) rake (0.9.2.2)
redis (2.2.2) redis (2.2.2)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
PLATFORMS PLATFORMS
java java
@ -25,3 +29,4 @@ DEPENDENCIES
minitest minitest
rake rake
sidekiq! sidekiq!
simplecov

View file

@ -6,3 +6,10 @@ Rake::TestTask.new(:test) do |test|
end end
task :default => :test task :default => :test
desc 'Code coverage analysis'
task :cov => [:simplecov, :test]
task :simplecov do
require 'simplecov'
SimpleCov.start
end