[issue30743] unittest discover does not mention module file must be named with "test_" prefix

Alessandro Piccione report at bugs.python.org
Fri Jun 23 18:17:11 EDT 2017


Alessandro Piccione added the comment:

If you refer to the -p ("pattern" parameter) I think not.
I have my module named aaaTest.py.
I is is not mentioned that discover look for modules named "test_" for which reason I have to use a pattern?

If you refer to -s ("start-directory" parameter) same thing: for which reason I have to assume my aaaTest.py module is not recognized as a test?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30743>
_______________________________________


More information about the Python-bugs-list mailing list