Perry Smith wrote:
Sorry for the silly question. I know how to run a single unit test. How do I run them all?
Open a command line and enter:
Then, to learn more about rake's prowess...
rake --tasks | more
Then get ZenTest's autotest, and leave it running at all times. 66% of your edits should be among the tests. Each time you change anything, save everything and watch autotest's output.
Using these techniques...
...you can also make your tests say "yeah" or "no" if they pass or fail.
If they fail, you have the option to undo or revert your last edit. (That implies you should integrate to SVN each and every time your code is in a good state that you might want to revert to.) These techniques prevent wasting hours of debugging!