Sha256: ea45f92a190898d5f5db4aeebf93885f1cca53ebfe89f1695a9bcf6b48520905

Contents?: true

Size: 751 Bytes

Versions: 21

Compression:

Stored size: 751 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'

desc "Run the unit and functional remote tests"
Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
  t.warning = false
end

namespace :test do
  desc "Run unit tests"
  Rake::TestTask.new(:unit) do |t|
    t.libs << "test"
    t.pattern = 'test/unit/**/*_test.rb'
    t.verbose = true
    t.warning = false
  end

  desc "Run functional remote tests"
  Rake::TestTask.new(:remote) do |t|
    t.libs << "test"
    t.pattern = 'test/remote/*_test.rb'
    t.verbose = true
    t.warning = false
  end
end

desc "Open a pry session preloaded with this library"
task :console do
  sh 'ruby -Ilib -Itest test/console.rb'
end

task :default => 'test'

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
reactive_shipping-3.0.0 Rakefile
active_shipping-2.1.1 Rakefile
active_shipping-2.1.0 Rakefile
active_shipping-2.0.1 Rakefile
active_shipping-2.0.0 Rakefile
active_shipping-1.14.2 Rakefile
active_shipping-1.14.1 Rakefile
active_shipping-1.14.0 Rakefile
active_shipping-1.13.4 Rakefile
active_shipping-1.13.3 Rakefile
active_shipping-1.13.2 Rakefile
active_shipping-1.13.1 Rakefile
active_shipping-1.13.0 Rakefile
active_shipping-1.12.1 Rakefile
active_shipping-1.12.0 Rakefile
active_shipping-1.11.1 Rakefile
active_shipping-1.11.0 Rakefile
active_shipping-1.10.1 Rakefile
active_shipping-1.9.2 Rakefile
active_shipping-1.9.1 Rakefile