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 Theune wrote: |> |> Reviewed and merged. |> |> I made some minor textual changes, otherwise that code was fine. | | Thank you Christian! | BTW, t

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 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 this too?

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 Theune wrote: | | Hi Christian. | |> That's what working branches are for. | | Done : | http://svn.zope.org/zope.testing/branches/sdouche-shuffle/ Reviewed and

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 > wrote: >> Hello Christian, >> >> On Tue, Nov 3, 2009 at 11:07 AM, Christian Theune wrote: >>> [...] btw: do you log the seed if >>> you generated one?) >> >> Yep, the seed is

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 wrote: > Hello Christian, > > On Tue, Nov 3, 2009 at 11:07 AM, Christian Theune 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

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 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

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 propose

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 know

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 wrote: Hi Christian. > That's what working branches are for. Done : http://svn.zope.org/zope.testing/branches/sdouche-shuffle/ -- Sebastien Douche Twitter: http://bit.ly/afkrK (agile, python, open source) __

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

2009-10-09 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: > > > > * --shu

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 wrote: > On Fri, Oct 9, 2009 at 8:51 AM, Jonathan Ballet > 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

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 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 > option parsing, but I didn't f

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 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 specific

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 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

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 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 history eith

[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 ·