Sha256: c42e8beaf0d5fb2fbf331b6055a29886e0b9695f09c2210ae08e6926344a2d22

Contents?: true

Size: 381 Bytes

Versions: 2

Compression:

Stored size: 381 Bytes

Contents

require "rake/testtask"
require "ci/reporter/rake/minitest"

Rake::TestTask.new(:test) do |test|
  test.libs << "test"
  test.pattern = "test/**/*_test.rb"
end

if RUBY_VERSION < "1.9"
  require "rcov/rcovtask"
  Rcov::RcovTask.new do |t|
    t.libs << "test"
    t.test_files = FileList["test/**/*_test.rb"]
    t.rcov_opts += %w{--exclude gems}
  end
end

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
use_case-1.0.1 Rakefile
use_case-1.0.0 Rakefile