[issue10612] StopTestRun exception to halt test run

2019-03-15 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
nosy: +berker.peksag
stage:  - patch review
type: performance - enhancement
versions: +Python 3.5 -Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10612
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread R. David Murray

R. David Murray added the comment:

I've added some review comments.  I did not download the patch and run the 
tests etc; it would be great if you could find another sprinter (or anyone :) 
to do that level of review.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10612
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty

Pam McA'Nulty added the comment:

This version fixes a few things after using review.

I still have some open questions:

o Where in unittest.rst should the StopTestRun documentation actually live?
  I've put it right after the SkipTest exception.  That doesn't feel perfect, 
but I didn't see a place where it would fit any better.

o What should the flag structure be?
  I've implemented it with two flags on the Outcome object which lead to an 
optional flag on the result object.  It works, but it's a bit messy


o What word should haltTestRun really be?
  I've chosen the word halt to represent the halt-reporting flag.  I think 
my firmware background is showing.  Any suggestions for a better term?

--
Added file: http://bugs.python.org/file38931/cpython-10612-StopTestRun-v2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10612
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty

Changes by Pam McA'Nulty pam...@webreply.com:


--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10612
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty

Changes by Pam McA'Nulty pam...@webreply.com:


--
nosy: +kushal.das

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10612
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty

Pam McA'Nulty added the comment:

Added unittest.StopTestRun exception.  It's caught and handled in 
testPartExecutor() - which is the same place SkipTest is caught.

If report=False, then it sets the result.haltTestRun attribute, which is a 
signal to TestTextRunner to not generate any output.

Added notes to whatsnew and unittest docs

--
keywords: +patch
Added file: http://bugs.python.org/file38925/cpython-10612-StopTestRun.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10612
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty

Changes by Pam McA'Nulty pam...@webreply.com:


--
nosy: +Pam.McANulty

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10612
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10612] StopTestRun exception to halt test run

2014-06-17 Thread Mark Lawrence

Mark Lawrence added the comment:

Slipped under the radar?

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10612
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10612] StopTestRun exception to halt test run

2010-12-02 Thread Michael Foord

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