New submission from STINNER Victor:
Attached pull request adds the --matchfile option to regrtest.
* Add a new option taking a filename to get a list of test names to filter
tests.
* support.match_tests becomes a list.
* Modify run_unittest() to accept to match the whole test identifier, not just
a part of a test identifier.
For example, the following command only runs test_default_timeout() of the
BarrierTests class of test_threading:
$ ./python -m test -v test_threading -m
test.test_threading.BarrierTests.test_default_timeout
----------
components: Tests
messages: 294959
nosy: haypo, martin.panter, serhiy.storchaka
priority: normal
severity: normal
status: open
title: regrtest: add --matchfile option
type: enhancement
versions: Python 3.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue30540>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com