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

Lennart Regebro <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Wed, Apr 21, 2010 at 13:47, Marius Gedminas <[email protected]> wrote:
> 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.

The layers run in the same order, but the *discovery* of the layers
means they get *shuffled* in a different order, which means the result
of the shuffle is different, because the random shuffle is not
reseeded between each layer. I hoped that the different discovery
order was just for zope.testrunner vs zope.testing.testrunner, but
from Jonathans answer above it seems not.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
_______________________________________________
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 )
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.