Message137405
| Author |
vstinner |
| Recipients |
Arfrever, vstinner |
| Date |
2011年06月01日.00:11:39 |
| SpamBayes Score |
9.786228e-09 |
| Marked as misclassified |
No |
| Message-id |
<201106010211.25579.victor.stinner@haypocalc.com> |
| In-reply-to |
<1306886173.49.0.536773734975.issue12231@psf.upfronthosting.co.za> |
| Content |
> Attached patch adds -k/--func-regex and -K/--file-regex options to filter
> tests by function/file names.
We need maybe a third option to filter tests by their class name. And we need
also maybe the opposite option: exclude tests matching a regex. Another
proposition: --include and --exclude options using the following format:
<file regex>:<class regex>:<function regex>
Each field is optional, examples:
--include "test_subprocess::leak" ignores test_leak function of
test_subprocess file
--include "codecencoding::" runs the 6 test_codecencoding* files
--include "test_subprocess:^C:" runs only the tests of the io module (not the
_pyio module)
- etc.
Problem: --exclude (-x) option is already used. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月01日 00:11:40 | vstinner | set | recipients:
+ vstinner, Arfrever |
| 2011年06月01日 00:11:39 | vstinner | link | issue12231 messages |
| 2011年06月01日 00:11:39 | vstinner | create |
|