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