[Zope-dev] Testrunner option for running tests in random order?!?

Jonathan Ballet jonathan.ballet at securactive.net
Mon Nov 23 04:27:01 EST 2009


Hello,

On Tue, Nov 3, 2009 at 11:21 AM, Jonathan Ballet
<jonathan.ballet at securactive.net> wrote:
> Hello Christian,
>
> On Tue, Nov 3, 2009 at 11:07 AM, Christian Theune <ct at gocept.com> wrote:
>> [...] btw: do you log the seed if
>> you generated one?)
>
> Yep, the seed is displayed at the end of tests, so that it can be
> reused to reproduce a failing test.
>
>    $ ./bin/test --shuffle -cvvv
>    Running tests at level 1
>    Running zope.testing.testrunner.layer.UnitTests tests:
>      Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
>      ...
>      Ran 257 tests with 0 failures and 0 errors in 21.908 seconds.
>    Tests were shuffled using seed number 321854366611

Any thoughts on this feature? Did someone try it?
Is there any possibilities to merge this into trunk and to release a
new version with this?

Cheers,

 Jonathan


More information about the Zope-Dev mailing list