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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue2241> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com