#3676: missing pytest --help / -t options [resolved]
#3676 - latest update on 2008/10/01, created on 2007/03/07 by Adrien Di Mascio
| priority | normal |
| type | bug |
| load | 0.500 |
| load left | 0.000 |
Marien Zwart said
Because of the place option parsing happens pytest relies on there
being exactly one directory called "test" or "tests" somewhere below
the current directory. The "pytest" main script walks down from the
current directory and calls testlib.main on every directory called
test or tests it finds. This main function then (re)parses the
arguments and runs the tests. This is especially annoying for --help
(which does nothing if there is no test or tests dir below the current
one) or -t (specify testdir explicitly, which does nothing if there is
no test or tests dir below the current one and runs the tests more
than once if there is more than one).
| | |
Workflow history
| validation pending | resolved | check
| 2007/06/08 | afayolle |
| open | validation pending | this went through a more or less complete refactoring of pytest
| 2007/03/07 | adimascio |