Stop executing tests of a case if the common setup fails

Bug #583787 reported by Christian Theune
6
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).

Revision history for this message
Colin Watson (cjwatson) wrote :

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/zopefoundation/zope.testrunner.

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.