Message137405
> 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. |
|
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 | |
|