Sha256: db27d89681ecacc332b62c3a201a4b9f602f75ee964b10493a60473c3f7c4eff
Contents?: true
Size: 738 Bytes
Versions: 1
Compression:
Stored size: 738 Bytes
Contents
# -------------------------------------------------- # Tests # -------------------------------------------------- task(:default => "test:all") namespace(:test) do desc "Run all tests" task(:all) do tests = Dir['test/**/test_*.rb'] - ['test/test_helper.rb'] exit system("ruby -rubygems -I.:lib -e'%w( #{tests.join(' ')} ).each {|file| require file }'") end desc "Run all tests on multiple ruby versions (requires rvm)" task(:portability) do %w( 1.8.6 1.8.7 1.9.1 1.9.2 ).each do |version| system <<-BASH bash -c 'source ~/.rvm/scripts/rvm; rvm #{version}; echo "--------- v#{version} ----------\n"; rake -s test:all' BASH end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watchr-0.6 | Rakefile |