Testrunner should call layer's testSetUp (and -tearDown) in layer-order

Bug #893506 reported by Wolfgang Schnerring
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zope.testrunner
Invalid
Undecided
Unassigned

Bug Description

While the setUp/tearDown of layers is called in the proper layer-dependency order, their testSetUp/testTearDown is not.

That's not only counter-intuitive but also prevents proper layer decomposition, since you cannot rely on the layer order there.

Revision history for this message
Wolfgang Schnerring (wosc) wrote :

I can't seem to remember the reproduction recipe, and there is code in zope.testrunner.runner.TestResult that orders the layers according to their bases for testSetUp/testTearDown, so I'll just assume I've dreamed the whole thing.

Changed in zope.testrunner:
status: New → Invalid
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.