Sha256: 796d8b93c8bdeecee856159eb43621a69cf0ceb4d0b92d17d68cf030a9a6e7c3

Contents?: true

Size: 687 Bytes

Versions: 22

Compression:

Stored size: 687 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
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
  end

  desc "Run functional remote tests"
  Rake::TestTask.new(:remote) do |t|
    t.libs << "test"
    t.pattern = 'test/remote/*_test.rb'
    t.verbose = true
  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

22 entries across 22 versions & 1 rubygems

Version Path
active_shipping-1.8.6 Rakefile
active_shipping-1.8.5 Rakefile
active_shipping-1.8.4 Rakefile
active_shipping-1.8.3 Rakefile
active_shipping-1.8.2 Rakefile
active_shipping-1.8.1 Rakefile
active_shipping-1.8.0 Rakefile
active_shipping-1.7.3 Rakefile
active_shipping-1.7.2 Rakefile
active_shipping-1.7.1 Rakefile
active_shipping-1.7.0 Rakefile
active_shipping-1.6.5 Rakefile
active_shipping-1.6.4 Rakefile
active_shipping-1.6.3 Rakefile
active_shipping-1.6.2 Rakefile
active_shipping-1.6.1 Rakefile
active_shipping-1.6.0 Rakefile
active_shipping-1.5.0 Rakefile
active_shipping-1.4.3 Rakefile
active_shipping-1.4.2 Rakefile