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

2009-12-23 Thread Christian Theune
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On 12/18/2009 02:49 PM, Jonathan Ballet wrote: | Hi, | | On Fri, Dec 18, 2009 at 1:51 PM, Christian Theunec...@gocept.com wrote: | | Reviewed and merged. | | I made some minor textual changes, otherwise that code was fine. | | Thank you

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

2009-12-18 Thread Christian Theune
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/16/2009 06:59 PM, Sebastien Douche wrote: | On Fri, Oct 9, 2009 at 14:33, Christian Theunec...@gocept.com wrote: | | Hi Christian. | | That's what working branches are for. | | Done : |

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

2009-12-18 Thread Jonathan Ballet
Hi, On Fri, Dec 18, 2009 at 1:51 PM, Christian Theune c...@gocept.com wrote: Reviewed and merged. I made some minor textual changes, otherwise that code was fine. Thank you Christian! BTW, the Pypi page for zope.testing is a bit broken currently (the HTML has not been generated), can you fix

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

2009-11-23 Thread Jonathan Ballet
Hello, On Tue, Nov 3, 2009 at 11:21 AM, Jonathan Ballet jonathan.bal...@securactive.net wrote: Hello Christian, On Tue, Nov 3, 2009 at 11:07 AM, Christian Theune c...@gocept.com wrote: [...] btw: do you log the seed if you generated one?) Yep, the seed is displayed at the end of tests, so

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

2009-11-23 Thread Christian Theune
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.bal...@securactive.net wrote: Hello Christian, On Tue, Nov 3, 2009 at 11:07 AM, Christian Theunec...@gocept.com wrote: [...] btw: do you log the seed if you

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

2009-11-03 Thread Christian Theune
On 10/19/2009 11:57 AM, Jonathan Ballet wrote: Hello there, as I mentioned by Sebastien, the patch has been commited into the sdouche-shuffle branch. It now has tests and a bit of documentation too. Regarding CLI arguments, I'm not sure this could be changed like Christian proposed. If

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

2009-11-03 Thread Jonathan Ballet
Hello Christian, On Tue, Nov 3, 2009 at 11:07 AM, Christian Theune c...@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

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

2009-10-19 Thread Jonathan Ballet
Hello there, as I mentioned by Sebastien, the patch has been commited into the sdouche-shuffle branch. It now has tests and a bit of documentation too. Regarding CLI arguments, I'm not sure this could be changed like Christian proposed. If you know how to do it, I'm listening, 'cause I don't

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

2009-10-16 Thread Sebastien Douche
On Fri, Oct 9, 2009 at 14:33, Christian Theune c...@gocept.com wrote: Hi Christian. That's what working branches are for. Done : http://svn.zope.org/zope.testing/branches/sdouche-shuffle/ -- Sebastien Douche sdou...@gmail.com Twitter: http://bit.ly/afkrK (agile, python, open source)

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

2009-10-10 Thread Marius Gedminas
On Fri, Oct 09, 2009 at 02:33:02PM +0200, Christian Theune wrote: On 10/08/2009 03:28 PM, Jonathan Ballet wrote: I made a branch 'shuffle-tests', available on the Mercurial repository at http://bitbucket.org/multani/zope.testing-shuffle/ , which adds two new options: * --shuffle to

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

2009-10-09 Thread Christian Theune
Hi, On 10/08/2009 03:28 PM, Jonathan Ballet wrote: Hi Christian, On Fri, Oct 2, 2009 at 2:00 PM, Christian Theune c...@gocept.com wrote: Hi, I *thought* the test runner had a feature to run tests in randomized order, but I can't find it. Is that something that Zope 2 had and that was

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

2009-10-09 Thread Jonathan Ballet
Hey, On Fri, Oct 9, 2009 at 2:33 PM, Christian Theune c...@gocept.com wrote:   * --shuffle to randomize the order of the tests in a layer (layers are not yet randomized, I didn't look at it yet);   * --shuffle-seed XXX, to initialize the RNG with a specific value, which allows to reproduce a

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

2009-10-09 Thread Benji York
On Fri, Oct 9, 2009 at 8:51 AM, Jonathan Ballet jonathan.bal...@securactive.net wrote: If I want this option to have an optional value, I think I must set a default value to the option. But then, how to make the distinction between the two first cases? I might miss something I don't know in

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

2009-10-09 Thread Jonathan Ballet
Hi, On Fri, Oct 9, 2009 at 3:30 PM, Benji York be...@zope.com wrote: On Fri, Oct 9, 2009 at 8:51 AM, Jonathan Ballet jonathan.bal...@securactive.net wrote: If I want this option to have an optional value, I think I must set a default value to the option. But then, how to make the distinction

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

2009-10-08 Thread Jonathan Ballet
Hi Christian, On Fri, Oct 2, 2009 at 2:00 PM, Christian Theune c...@gocept.com wrote: Hi, I *thought* the test runner had a feature to run tests in randomized order, but I can't find it. Is that something that Zope 2 had and that was never ported to zope.testing? I couldn't find in the

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

2009-10-02 Thread Christian Theune
Hi, I *thought* the test runner had a feature to run tests in randomized order, but I can't find it. Is that something that Zope 2 had and that was never ported to zope.testing? I couldn't find in the history either. /me is confused. -- Christian Theune · c...@gocept.com gocept gmbh co. kg ·