Skip to content

Instantly share code, notes, and snippets.

@frnz
Created November 16, 2010 06:06
Show Gist options
  • Save frnz/701500 to your computer and use it in GitHub Desktop.
Save frnz/701500 to your computer and use it in GitHub Desktop.
# I get the images from the autotest-growl gem, so I put this on my gemfile:
# (If you want to use another images you can find an example here: http://szeryf.wordpress.com/2007/07/30/way-beyond-cool-autotest-growl-doomguy/)
gem "rspec"
gem "rspec-rails", "~> 2.0.1"
gem "ZenTest"
gem "autotest"
gem "autotest-rails"
gem "autotest-growl" # <= here it is
gem "ruby-debug"
gem "cucumber"
gem "cucumber-rails"
# Then I create a .autotest file on the project's top folder that contains:
require 'autotest/growl'
Autotest.add_hook :initialize do |at|
at.add_exception 'tmp'
at.add_exception 'rerun.txt'
at.add_exception 'vendor'
at.add_exception '.git'
at.add_exception 'Gemfile.lock'
end
# And then I put the usual autotest/discover.rb file you can see at https://github.com/frnz/cukenesse/blob/master/autotest/discover.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment