Re: zope.testrunner (Was: Circular dependency hell.)

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20100421114727.GA23097@platonas>
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
> <[email protected]> wrote:
> > Hi,
> >
> > On Mon, Apr 19, 2010 at 1:03 PM, Lennart Regebro <[email protected]> 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

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkvO5csACgkQkVdEXeem148e1gCdEEeWpcc/Cgg0YGICcnc42Iby
AHwAn0KRe7A+n5Lko+kWlULpe36IVOmy
=fMM0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.