[New-bugs-announce] [issue30236] Add options --match and --failfast for test.regrtest in 2.7

Serhiy Storchaka report at bugs.python.org
Tue May 2 13:19:43 EDT 2017


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 <report at bugs.python.org>
<http://bugs.python.org/issue30236>
_______________________________________


More information about the New-bugs-announce mailing list