[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

Serhiy Storchaka report at bugs.python.org
Fri Jun 9 04:43:30 EDT 2017


Serhiy Storchaka added the comment:

The main problem is doctests. Numerous "doctest.DocTestCase.runTest" look useless and confusing.

Running tests instead of listing them is bad.

It is not clear why in one cases --list-tests outputs full qualified test names, while in other cases it outputs only class and method names.

----------

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


More information about the Python-bugs-list mailing list