Jordan Brock

Setting up AutoTest on Mac OS X

Another in the series of “Oh, I’d better write this down here so I don’t forget it in the future” posts. This time, the gems needed to setup AutoTest for a rails app on Leopard

sudo gem install ZenTest   
 
sudo gem install autotest-fsevent 
 
sudo gem install autotest-rails  
 
sudo gem install redgreen

Then you need to create a “.autotest” file with the following:

require 'autotest/fsevent'
require 'redgreen/autotest'

Then it’s just a case of typing “autotest” in RAILS_ROOT.

Simple.