[issue2241] Additional Flag For Unit-Test Module: There Can Be Only One (Error)
Brian White
report at bugs.python.org
Wed Mar 5 17:24:33 CET 2008
New submission from Brian White:
The attached diff adds a "-o" ("--one") option to the "unittest" module
that causes the run to abort on the first error encountered. I name my
tests so that the lowest-level tests get run first so stopping at the
first error tends to prevent a lot of dependent errors and speed
debugging. During development, I typically run the tests I'm writing
with "-ov". During a full test run, I omit both those flags.
----------
components: Library (Lib)
files: unittest-diff25.py
messages: 63285
nosy: bcwhite
severity: normal
status: open
title: Additional Flag For Unit-Test Module: There Can Be Only One (Error)
type: feature request
versions: Python 2.5
Added file: http://bugs.python.org/file9612/unittest-diff25.py
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2241>
__________________________________
More information about the Python-bugs-list
mailing list