[New-bugs-announce] [issue10612] StopTestRun exception to halt test run

Michael Foord report at bugs.python.org
Fri Dec 3 03:09:29 CET 2010

New submission from Michael Foord <michael at voidspace.org.uk>:

It is hard for test infrastructure to halt a test run unless it has access to the result object. 

A StopTestRun exception could be provided. This could be caught in TestCase.run and call TestResult.stop().

It could be parameterized so that StopTestRun(report=False) bombs out and stops the test run completely.

assignee: michael.foord
components: Library (Lib)
messages: 123158
nosy: michael.foord
priority: normal
severity: normal
status: open
title: StopTestRun exception to halt test run
type: performance
versions: Python 3.2, Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list