zope.testing should run unit tests first

Bug #497871 reported by Marius Gedminas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zope.testing
Won't Fix
Undecided
Unassigned
zope.testrunner
Fix Released
Undecided
Unassigned

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).

Revision history for this message
Tres Seaver (tseaver) wrote :

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

Changed in zope.testing:
status: New → Confirmed
Revision history for this message
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)
tags: added: bugday20100424
Changed in zope.testing:
status: Confirmed → Won't Fix
Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.