Yes, I know that the same question was asked (http://stackoverflow.com/questions/1506780/how-to-run-single-test-from-rails-test-suite), but the solution does not seem to work for Rails 3. Maybe it works for Rails 2?
How to run a single test in Rails 3.0.7 using Unit :: Test? Not one test file, but a single test .
test "the truth" do assert false end
ruby -I test test/functional/test_file.rb -n "the truth" generates 0 tests, 0 assertions, 0 failures, 0 errors
source share