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 Authlogic. I've used RSpec in the past quite a bit but would like to switch to Shoulda.
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?
ZenTest seems to be focused largely on Rails, as I have yet to find a gem that makes it so calling autotest
automagically runs all my TestUnit tests no matter if I'm using Rails, Sinatra, or just making a gem.
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?
Or a more specific, testable question: How do I run the test suite for Paperclip or Authlogic with Autotest?
I've been using these as resources so far:
- Paperclip Tests on Github
- Autotest Without Rails
- Shoulda, Autotest, Redgreen, with Growl notifications
- Authlogic Tests on Github
- Getting Started with Autotest
Thanks so much. Want to make testing a core part of my workflow.