Ok, this was easy. Some googling revealed the reason that none of my generated rspec tests would ever be picked up by autotest. You apparently have to export RSPEC=true in your shell, prior to starting autotest. So here is the getting started list:
- Install gems rspec, rspec-rails, ZenTest, redgreen
- generate scafffolds/models/controllers with the rspec method (installing the gems gives you, among others, the additional generator targets rspec_controller, rspec_model, rspec_scaffold)
- export RSPEC=true and start autotest
One quote from my first autotest run:
Finished in 0.963479 seconds
400 examples, 400 failures
While being all convinced of and impressed with all the advantages of developing with RSpec, cucumber and autotest, I have yet to find the time to actually start doing it. And there is not that much information out there (the bigger pieces probably being the screencasts on peepcode.com). I will try and document some of the more interesting findings as a convert. Right now, my rails project has reached its first milestone and is (or appears to be) functionally stable. Even if this was the case (which I do not really believe), keeping it that way would be worth writing tests.