#!/usr/bin/env ruby infinity_test do use :rubies => ['1.8.7', '1.9.2', 'jruby', 'ree', 'rbx'], :gemset => 'infinity_test', :test_framework => :rspec # Maybe with block is better ... # # use do # rubies = %w(1.8.7 1.9.2 jruby ree rbx) # gemset = 'infinity_test' # test_framework = :rspec # application_framework = :rails # end heuristics do add '^lib/infinity_test/dependencies.rb' do |file| run :all => :files end end after(:all) do system('rake clean_without_verbose') end # heuristics do # # add :dir => 'app/models' do |file| # run_test :for => file # end # # add %r%^(test|spec)/fixtures/(.*).yml$% do |file| # run_test :for => file, :in_dir => "test" # end # # application_library.watch :dir => 'app/models' do |file| # run :test => "spec/models/" # end # # watch(%r%^(test|spec)/fixtures/(.*).yml$%) do |m| # "test/test_#{m[1]}.rb" # end # end end