Testrunner should call layer's testSetUp (and -tearDown) in layer-order
Bug #893506 reported by
Wolfgang Schnerring
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/
That's not only counter-intuitive but also prevents proper layer decomposition, since you cannot rely on the layer order there.
To post a comment you must log in.
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.