When you use common TestUnit (maybe with great gem “Shoulda”:http://github.com/thoughtbot/shoulda) or “RSpec”:http://rspec.info/, you may speed up development by running only single test case.
In TestUnit, run test file with -n
switch:
or use regexp:
Regexp is very convinient when you work with shoulda.
In Rspec, you can use -e
:
Or maybe you would like to install “autotest”:http://www.zenspider.com/ZSS/Products/ZenTest/ or “autospec”:http://github.com/dchelimsky/rspec/wiki/Autotest-Integration for Rspec?