Topic: Running only certain tests based on a flag
I want to be able the have test_all and test_long which run different tests. Or even different lines with in the tests. I have found some great things to test but they take a few seconds per each call. So when doing my testing during development I don't want to run these as they slow me down. I want to run these longer lines only sometimes (like right after code is checked into svn).
assert slow command
I don't know where I can set the conditional_flag I thought perhaps while calling the tests with rake as an option, or setting it in the config/enviroment/test.rb, but so far haven't come up with a nice clean solution.
I am sure someone has done this before so I would love any help from someone with more experience in ruby testing.