[Patches] [Patch #100683] randomize test execution order in regrtest.py

Guido van Rossum guido@python.org
Fri, 30 Jun 2000 09:35:16 -0500


> [skip]
> > http://sourceforge.net/patch/?func=detailpatch&patch_id=100683&group_id=5470

[trent]
> I can see the value in this but it would be nice to enable this through an
> option. I don't really care if randomization is the default (perhaps it
> should be, as you suggest), but one should still be able to get the old
> behavious shouldn't they? Or rather, in the interest of reproducibility, can
> the "random" order be given a seed to be able to get the same "random" order
> on multiple invocations.  (The "random" is pseudo-random, right?).

It's cute, but we've had dependencies in the past between tests.
These would be very difficult to reproduce if this was the default!

I vote -1 in this form.  I'd vote +0 if it was an option you had to
explicitly turn on.

--Guido van Rossum (home page: http://www.python.org/~guido/)