New submission from Serhiy Storchaka: Proposed patch adds options -m/--match and -G/--failfast for test.regrtest in 2.7. They are two the most wanted by me features absent in 2.7.
I use them when add new test in long running test file. Often this needs running the test multiple times, incrementally changing the test or code until the test cover all cases and successful. Waiting running other tests in the same file is just waste of time. Other cases -- fast running tests related to some feature in different files. For example -m '*ickl*' allows to run all pickle-related tests. The code is backported from 3.3. This is the last version using getopt and the most compatible with 2.7. There was several major rewriting of regrtest in following versions. ---------- components: Tests messages: 292790 nosy: ezio.melotti, haypo, ncoghlan, serhiy.storchaka, xiang.zhang priority: normal severity: normal stage: patch review status: open title: Add options --match and --failfast for test.regrtest in 2.7 type: enhancement versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30236> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com