On Sun, Nov 30, 2003 at 01:08:16PM -0500, Andy Lester via RT wrote:
Show quoted text> Allow some sort of ordering for the tests to be run.
>
> * Let the user specify the list entirely.
>
> * Let the user specify the starting order.
>
> * Let the user specify the ending order.
>
> * Allow randomizing the middle tests.
Why put this into Test::Harness? runtests() just takes a list. Let the
user do it.
runtests(@files); # user specified list
runtests(sort { int(rand 3) -1 } , @files); # random list!
--
Michael G Schwern schwern@pobox.com
http://www.pobox.com/~schwern/
Stupid am I? Stupid like a fox!