Re: [Zope-dev] Test runner: layers, subprocesses, and tear down

2008-07-13 Thread Dieter Maurer
Benji York wrote at 2008-7-3 17:44 -0400: On Thu, Jul 3, 2008 at 5:37 PM, Christian Theune [EMAIL PROTECTED] wrote: On Thu, 2008-07-03 at 17:22 -0400, Benji York wrote: I'd like to 1) remove the layer tear-down mechanism entirely, and 2) make (almost) all layers run in a subprocess. You are

Re: [Zope-dev] Test runner: layers, subprocesses, and tear down

2008-07-05 Thread Christian Theune
Hi, On Thu, 2008-07-03 at 17:22 -0400, Benji York wrote: I'm working on making the zope.testing test runner run tests in parallelized subprocesses. The option will likely be spelled -j N, where N is the maximum number of processes. Getting back to the idea about parallelizing on a per-test

Re: [Zope-dev] Test runner: layers, subprocesses, and tear down

2008-07-05 Thread Christian Theune
On Sat, 2008-07-05 at 09:18 +0200, Christian Theune wrote: Hi, On Thu, 2008-07-03 at 17:22 -0400, Benji York wrote: I'm working on making the zope.testing test runner run tests in parallelized subprocesses. The option will likely be spelled -j N, where N is the maximum number of

Re: [Zope-dev] Test runner: layers, subprocesses, and tear down

2008-07-05 Thread Benji York
On Sat, Jul 5, 2008 at 3:18 AM, Christian Theune [EMAIL PROTECTED] wrote: We could use layers as a hint to create subprocesses, but should split up layers if they are too large to fit the X/N rule (maybe with a margin of a few percent to avoid splits for single or few tests). It probably

Re: [Zope-dev] Test runner: layers, subprocesses, and tear down

2008-07-04 Thread Adam GROSZER
Hello Benji, +1 for keeping the default as no subprocess and keeping the teardown. The others already said the reasons. -- Best regards, Adam GROSZERmailto:[EMAIL PROTECTED] -- Quote of the day: It is a great mistake to suppose that God is only, or even chiefly,

Re: [Zope-dev] Test runner: layers, subprocesses, and tear down

2008-07-04 Thread Chris Withers
Hi Benji, I've read the whole thread to date but thought I'd reply here... Benji York wrote: I'm working on making the zope.testing test runner run tests in parallelized subprocesses. The option will likely be spelled -j N, where N is the maximum number of processes. Cool :-) But please

Re: [Zope-dev] Test runner: layers, subprocesses, and tear down

2008-07-03 Thread Christian Theune
On Thu, 2008-07-03 at 17:22 -0400, Benji York wrote: I'm working on making the zope.testing test runner run tests in parallelized subprocesses. The option will likely be spelled -j N, where N is the maximum number of processes. I have it basically working, but have noticed a couple odd

Re: [Zope-dev] Test runner: layers, subprocesses, and tear down

2008-07-03 Thread Benji York
On Thu, Jul 3, 2008 at 5:37 PM, Christian Theune [EMAIL PROTECTED] wrote: On Thu, 2008-07-03 at 17:22 -0400, Benji York wrote: I'd like to 1) remove the layer tear-down mechanism entirely, and 2) make (almost) all layers run in a subprocess. I want to do #1 because it would simplify the test

Re: [Zope-dev] Test runner: layers, subprocesses, and tear down

2008-07-03 Thread Marius Gedminas
On Thu, Jul 03, 2008 at 05:22:11PM -0400, Benji York wrote: I'm working on making the zope.testing test runner run tests in parallelized subprocesses. The option will likely be spelled -j N, where N is the maximum number of processes. That's wonderful news! I have it basically working, but