Sha256: f691f3a294a8364cc02d98136de4738666ada02a0b90548809552aa9234b1728

Contents?: true

Size: 608 Bytes

Versions: 12

Compression:

Stored size: 608 Bytes

Contents

namespace :test do
  
  Rake::TestTask.new(:remote => "db:test:prepare") do |t|
    t.libs << "test"
    t.pattern = 'remote/**/*_test.rb'
    t.verbose = true
  end
  Rake::Task['test:remote'].comment = "Test integration with remote services"
  
  desc 'Test all unit, functional, integration, and remote tests'
  task :all do
    errors = %w(test:units test:functionals test:integration test:remote).collect do |task|
      begin
        Rake::Task[task].invoke
        nil
      rescue => e
        task
      end
    end.compact
    abort "Errors running #{errors.to_sentence}!" if errors.any?
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
muck-commerce-3.0.1 test/lib/tasks/remote.rake
muck-commerce-0.2.8 test/rails_root/lib/tasks/remote.rake
muck-commerce-0.2.7 test/rails_root/lib/tasks/remote.rake
muck-commerce-0.2.6 test/rails_root/lib/tasks/remote.rake
muck-commerce-0.2.5 test/rails_root/lib/tasks/remote.rake
muck-commerce-0.2.4 test/rails_root/lib/tasks/remote.rake
muck-commerce-0.2.3 test/rails_root/lib/tasks/remote.rake
muck-commerce-0.2.2 test/rails_root/lib/tasks/remote.rake
muck-commerce-0.2.1 test/rails_root/lib/tasks/remote.rake
muck-commerce-0.2.0 test/rails_root/lib/tasks/remote.rake
muck-commerce-0.1.9 test/rails_root/lib/tasks/remote.rake
muck-commerce-0.1.8 test/rails_root/lib/tasks/remote.rake