[Zope-dev] Testrunner option for running tests in random order?!?
Christian Theune
ct at gocept.com
Mon Nov 23 14:04:30 EST 2009
Hi there,
On 11/23/2009 10:27 AM, Jonathan Ballet wrote:
> 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?
It's still on my todo list and I'll get to it at some point ... maybe
even during this week. ;)
Christian
--
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development
More information about the Zope-Dev
mailing list