title: Autotest, Shoulda, Ruby - The Setup?
body: <p>I am trying to get the whole setup working with Autotest/Growl/Shoulda on my Mac to test a gem I'm working on for <a href="http://github.com/viatropos/authlogic-connect" rel="nofollow noreferrer">Authlogic</a>.  I've used RSpec in the past quite a bit but would like to switch to Shoulda.</p>
  
  <p>This gem is going to work with Rails, but others gems I've made are just plain old ruby libraries with no dependencies on Rails modules.  What's the recommended way to test rubygems?</p>
  
  <p>ZenTest seems to be focused largely on Rails, as I have yet to find a gem that makes it so calling <code>autotest</code> automagically runs all my TestUnit tests no matter if I'm using Rails, Sinatra, or just making a gem.</p>
  
  <p>Question is, what is your setup/workflow for running tests on gems you are building?  Do you have any resources that would help me out?</p>
  
  <p>Or a more specific, testable question:  How do I run the test suite for Paperclip or Authlogic with Autotest?</p>
  
  <p>I've been using these as resources so far:</p>
  
  <ul>
  <li><a href="http://github.com/thoughtbot/paperclip/tree/master/test/" rel="nofollow noreferrer">Paperclip Tests on Github</a></li>
  <li><a href="http://opensoul.org/2007/12/6/autotest-without-rails" rel="nofollow noreferrer">Autotest Without Rails</a></li>
  <li><a href="http://gamutworks.net/posts/4" rel="nofollow noreferrer">Shoulda, Autotest, Redgreen, with Growl notifications</a></li>
  <li><a href="http://github.com/binarylogic/authlogic/tree/master/test/" rel="nofollow noreferrer">Authlogic Tests on Github</a></li>
  <li><a href="http://ph7spot.com/musings/getting-started-with-autotest#troubleshooting_autotest_test_detection" rel="nofollow noreferrer">Getting Started with Autotest</a></li>
  </ul>
  
  <p>Thanks so much.  Want to make testing a core part of my workflow.</p>