[Zope-dev] zope.testrunner (Was: Circular dependency hell.)

Marius Gedminas marius at gedmin.as
Wed Apr 21 07:47:27 EDT 2010


On Wed, Apr 21, 2010 at 09:13:30AM +0200, Jonathan Ballet wrote:
> Hi Lennart,
> 
> On Mon, Apr 19, 2010 at 2:42 PM, Jonathan Ballet
> <jonathan.ballet at securactive.net> wrote:
> > Hi,
> >
> > On Mon, Apr 19, 2010 at 1:03 PM, Lennart Regebro <regebro at gmail.com> wrote:
> >> OK, I made a branch of zope.testing that doesn't include the
> >> testrunner. That was easy peasy.
> >>
> >> http://svn.zope.org/zope.testing/branches/regebro-notestrunner/
> >>
> >> And I made a zope.testrunner:
> >>
> >> http://svn.zope.org/zope.testrunner/trunk
> >>
> >> That was pretty easy too. Except one thing: The shuffle feature
> >> shuffles things differently in zope.testrunner compared to in
> >> zope.testing.testrunner, which seems to be because it finds the layers
> >> in a different order.
> 
> I took some time to look at this yesterday, and it seems you were
> right: the order should have changed since the layers now have a
> different name.

Layers plural?  I'd expect the UnitTestLayer to change its name, but
what are the others?

Also see https://bugs.launchpad.net/zope.testing/+bug/497871: there's
consensus that unit tests should always be the first layer to run, so
the layer name shouldn't influence the ordering.

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3 consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20100421/1b541f59/attachment.bin 


More information about the Zope-Dev mailing list