Sha256: ee8b46ed30e54719a71a2ebded1559d81f638d61e52545242d9acb663355154d
Contents?: true
Size: 483 Bytes
Versions: 18
Compression:
Stored size: 483 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" require "rake/testtask" desc 'Run tests' test_task = Rake::TestTask.new(:test) do |t| t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = true end task default: :test desc 'Run tests in isolated processes' namespace :test do task :isolated do Dir[test_task.pattern].each do |file| cmd = ['ruby'] test_task.libs.each { |l| cmd << '-I' << l } cmd << file sh cmd.join(' ') end end end
Version data entries
18 entries across 18 versions & 1 rubygems