lunedì 20 dicembre 2010

Autotest config

What seems to be working for me is the following:

group :development, :test do
gem 'rspec-rails'
gem 'webrat'
gem 'autotest'
gem 'autotest-growl'
gem 'autotest-rails'
gem 'cucumber-rails'
gem 'factory_girl_rails'
gem 'mocha'
gem 'launchy'
end

And in ~/:autotest
require 'autotest/growl'
Autotest::Growl::clear_terminal = false
Autotest.add_hook :initialize do |at|
at.find_directories = ['./features', './spec', './app', './lib']
end

The hook selects directories to watch. The default setup caused autotest to run features continuously

Nessun commento:

Posta un commento