Every now and again, I find myself struggling to remember how to execute a single test in Rails [1]. While I have Guard [2] running the entire test suite anytime a change is detected, there are times when I want to focus solely on one test. Accordingly, Flavio Castelli has a great blog entry [3] detailing the manifold ways one can execute a single test using Rake [4] and/or Ruby.
Links:
[1] http://rubyonrails.org/
[2] https://github.com/guard/guard
[3] http://flavio.castelli.name/2010/05/28/rails_execute_single_test/
[4] http://rake.rubyforge.org/