Sha256: 04810cc8f7bc7335e942001415c3f94026e1cf9c5eb35c9e3d1f3148e837f2ba

Contents?: true

Size: 511 Bytes

Versions: 2

Compression:

Stored size: 511 Bytes

Contents

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'test'
  test.pattern = 'test/**/test_*.rb'
end

Rake::TestTask.new(:bench) do |test|
  test.libs << 'test'
  test.pattern = 'test/benchmark_test.rb'
end

begin
  require 'metric_fu'
  MetricFu::Configuration.run do |config|
    config.rcov[:rcov_opts] << "-Itest:lib"
  end
rescue LoadError
end

task :default => :test

task :test_all do
  system('rake test RAILS_VERSION="~> 2.3.0"')
  system('rake test RAILS_VERSION="~> 3.0.0"')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dalli-1.0.0 Rakefile
dalli-0.11.2 Rakefile