At 12:21 PM 8/3/2005, Jonathan Kohl wrote:
I have a pet-peeve with the xUnit design that runs the tests in a
pseudo-random order. I understand the motivation behind it, and I have
proper setup and teardown in unit tests, but when doing functional tests I
often need to chain tests. I'd rather that tools like JUnit etc. allowed me
to specify running them in order or not instead of forcing me to do the
"right thing". j

They don't force you.

You can subclass the Suite method and use your own algorithm for ordering the tests. That's what i'd do if it bothered me. Test::Unit is extremely customizable.

Bret


_____________________
 Bret Pettichord
 www.pettichord.com

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to