zope.testing should run unit tests first

Bug #497871 reported by Marius Gedminas on 2009-12-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Won't Fix
Fix Released

Bug Description

Old versions of zope.testing ran the unit test layer first. This made a lot of sense to me (unit tests are more likely to pinpoint the failure that could otherwise cause all functional tests to fail, and usually they finish quicker).

Please make the layer sorting logic put the unit test layer first (it's now sorted alphabetically and often ends up being last).

Tres Seaver (tseaver) wrote :

I prefer the nominated (and previous) behavior as well.

Changed in zope.testing:
status: New → Confirmed
Tres Seaver (tseaver) wrote :

I can fix the code for this, but fixing the doctests (which stupidly mandate the current behavior) is beyond my patience. I am uploading a patch with the actual changes needed to make this go (including new unittests of the untested code which orders the layers), and leave it to somebody who sees more value than I do in those doctests to finish up.

Tres Seaver (tseaver) on 2010-04-21
tags: added: bugday20100424
Changed in zope.testing:
status: Confirmed → Won't Fix
Marius Gedminas (mgedmin) wrote :

This was fixed in 4.4.5.

Changed in zope.testrunner:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers