Apologies on behalf of the group for the late answer!
Marko Vuksanovic wrote:
I have two questions regarding running unit tests
- Is there a way to run a specific unit test using rake command,…
sth like “rake test:units xxxxx”. I’d like to achieve the same effect
as using, for example, “ruby test/unit/product_test.rb” command
rake test:units TESTOPTS=-ntest_this_case_only
- Is there a way to somehow mark a test not to be run when using
“rake test:units” command?
Don’t. Because you never ‘svn ci’ without passing all your tests first
because you put the tests and ‘svn ci’ inside a rake task called ‘rake
all your tests should always pass.
To temporarily suspend a test, put return # TODO at its start. And note
the -n option takes a regexp, such as -n/test_subset/
“Test Driven Ajax (on Rails)”