Sha256: 70b093e53ff8b3c0c1a233fd4cef9959aba4fb8674430d2fca357efeb9d19a6a

Contents?: true

Size: 780 Bytes

Versions: 3

Compression:

Stored size: 780 Bytes

Contents

#!/usr/bin/env ruby

infinity_test do
  
  use :rubies => ['1.8.7', '1.9.2', 'jruby', 'ree', 'rbx'], :gemset => 'infinity_test', :test_framework => :rspec

  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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
infinity_test-1.0.2 .infinity_test
infinity_test-1.0.1 .infinity_test
infinity_test-1.0.0 .infinity_test