New submission from Michael Foord <mich...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10612>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to