Permalink
Browse files

Testing cleanup

- Moved to SimpleCov for coverage analysis
- Fixed RDoc deprication warning
- Upgraded mock_redis version
  • Loading branch information...
1 parent 346826c commit ec9a064f534adbf3204f14cfe3dda3dd23dfc6b0 @ejfinneran committed Oct 29, 2011
Showing with 13 additions and 10 deletions.
  1. +5 −1 Gemfile
  2. +6 −1 Gemfile.lock
  3. +0 −8 Rakefile
  4. +2 −0 test/helper.rb
View
@@ -15,5 +15,9 @@ group :development do
gem "mock_redis", "~> 0.2.0"
gem "bundler", "~> 1.0.0"
gem "jeweler", "~> 1.6.4"
- gem "rcov", ">= 0"
+ gem "rdoc"
+end
+
+group :test do
+ gem 'simplecov', :require => false
end
View
@@ -6,6 +6,7 @@ GEM
bundler (~> 1.0)
git (>= 1.2.5)
rake
+ json (1.6.1)
metaclass (0.0.1)
mocha (0.10.0)
metaclass (~> 0.0.1)
@@ -17,6 +18,10 @@ GEM
redis-namespace (1.1.0)
redis (< 3.0.0)
shoulda (2.11.3)
+ simplecov (0.5.4)
+ multi_json (~> 1.0.3)
+ simplecov-html (~> 0.5.3)
+ simplecov-html (0.5.3)
timecop (0.3.5)
PLATFORMS
@@ -27,9 +32,9 @@ DEPENDENCIES
jeweler (~> 1.6.4)
mocha (~> 0.10)
mock_redis (~> 0.2.0)
- rcov
rdoc
redis
redis-namespace
shoulda
+ simplecov
timecop
View
@@ -32,14 +32,6 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end
-require 'rcov/rcovtask'
-Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
- test.rcov_opts << '--exclude "gems/*"'
-end
-
task :default => :test
require 'rdoc/task'
View
@@ -1,3 +1,5 @@
+require 'simplecov'
+SimpleCov.start
require 'rubygems'
require 'bundler'
require 'redis'

0 comments on commit ec9a064

Please sign in to comment.