Stop executing tests of a case if the common setup fails
Bug #583787 reported by
Christian Theune
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.testrunner |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If the setUp method of a test case contains an error we still try to execute all tests, although the setup will fail repeatedly. IMHO we can shorten the test run and report the tests as "error" in that case.
This would also be helpful if one is debugging setup using PDB and quits the debugger: the setup method then propagates the exception causing subsequent tests that need the same setup to not be run (triggering the same pdb over and over again).
To post a comment you must log in.
The zope.testrunner project on Launchpad has been archived at the request of the Zope developers (see https:/ /answers. launchpad. net/launchpad/ +question/ 683589 and https:/ /answers. launchpad. net/launchpad/ +question/ 685285). If this bug is still relevant, please refile it at https:/ /github. com/zopefoundat ion/zope. testrunner.