Sha256: d4bc337e84eed743787ae955581adc9cb876f7b92aa995dd6b43321eed00b300

Contents?: true

Size: 748 Bytes

Versions: 62

Compression:

Stored size: 748 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

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.4.27 vendor/active_shipping/Rakefile
workarea-core-3.5.4 vendor/active_shipping/Rakefile
workarea-core-3.4.26 vendor/active_shipping/Rakefile
workarea-core-3.5.3 vendor/active_shipping/Rakefile
workarea-core-3.4.25 vendor/active_shipping/Rakefile
workarea-core-3.5.2 vendor/active_shipping/Rakefile
workarea-core-3.4.24 vendor/active_shipping/Rakefile
workarea-core-3.5.1 vendor/active_shipping/Rakefile
workarea-core-3.4.23 vendor/active_shipping/Rakefile
workarea-core-3.4.22 vendor/active_shipping/Rakefile
workarea-core-3.5.0 vendor/active_shipping/Rakefile
workarea-core-3.4.21 vendor/active_shipping/Rakefile
workarea-core-3.5.0.beta.1 vendor/active_shipping/Rakefile
workarea-core-3.4.20 vendor/active_shipping/Rakefile
workarea-core-3.4.19 vendor/active_shipping/Rakefile
workarea-core-3.4.18 vendor/active_shipping/Rakefile
workarea-core-3.4.17 vendor/active_shipping/Rakefile
workarea-core-3.4.16 vendor/active_shipping/Rakefile
workarea-core-3.4.15 vendor/active_shipping/Rakefile
workarea-core-3.4.14 vendor/active_shipping/Rakefile