Sha256: 7a834ad60087ae37b79c090117d4adc1e6855fee37ba576dd914a36769bd2627

Contents?: true

Size: 574 Bytes

Versions: 3

Compression:

Stored size: 574 Bytes

Contents

require "bundler/gem_tasks"
require 'bundler'
Bundler.setup
require 'rake'
require 'test-unit'

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

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :default => :test

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_zuora-1.5.2 Rakefile
active_zuora-1.5.1 Rakefile
active_zuora-1.5.0 Rakefile