unittest: Calling tests in liner number order

Fuzzyman fuzzyman at gmail.com
Sat May 24 13:10:23 EDT 2008


On May 24, 3:57 pm, Roy Smith <r... at panix.com> wrote:
> In article
> <a2c4d209-e203-4b43-aa57-f9f0248b2... at a70g2000hsh.googlegroups.com>,
>
>  Fuzzyman <fuzzy... at gmail.com> wrote:
> > Whilst I understand your point, I think the danger is that you end up
> > with hidden dependencies on the test order - which you're not aware of
> > and that the tests never expose.
>
> Well, yes.  But, this is no worse than the current situation, where the
> tests are run in alphabetical order by default.  You could still have
> hidden dependencies and not realize it.

Fair point. I'd still be -1 on the addition of this patch, but +1 on
the addition of a randomizer.

Michael Foord
http://www.ironpythoninaction.com/



More information about the Python-list mailing list