>  The idea is that you can specify that certain tests exist in groups,
>  and can be run as a set.  You can define groups and groups of groups,
>  and so you can run a set of functional tests or all the tests dealing
>  with a specific feature without running through the entire thing.
>  It's kinda like an rspec pattern, but more flexible.

Might not be of help, but my problem was a tad similar when I used
test/spec (rspecish test/unit wrapper).
I had five types of test tasks in my Rakefile: test:units,
test:functionals, test:integration, test:libs and test:helpers. The
integration and lib tests took the most of the time, so I created
custom tasks test:all_but_integration (quite self-explanatory, no?)
and test:webserver, which ran everything else except test:libs. The
way I did it was that test:all_but_integration just
depended on the tasks test:units, tests:functionals etc.

So, if you want grouping inside features in a single test suite, this
won't help, but for me, being able to control which (whole) files were
run with Rake was sufficient for me. The whole suite took something
like 15 minutes, but we had thousands of tests and when we started, we
didn't use that much mock objects.

That said, I have never needed nor wished the ability to combine test
suites using test/spec or rspec. Being able to choose which
contexts/describes or individual specs will be run has been more than
sufficient to me, but of course, YNMDFTOM.

-- 
"One day, when he was naughty, Mr Bunnsy looked over the hedge into
Farmer Fred's field and it was full of fresh green lettuces. Mr
Bunnsy, however, was not full of lettuces. This did not seem fair."
  -- Terry Pratchett, Mr. Bunnsy Has An Adventure
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to