[issue25520] unittest load_tests protocol not working as documented

Stefan Seefeld report at bugs.python.org
Wed Jan 20 16:11:21 EST 2016


Stefan Seefeld added the comment:

Hi, I'm investigating more issues related to test loading, and thus I have discovered issue #16662.

I have found quite a number of inconsistencies and bugs in the loading of tests. But without getting a sense of what the supposed behavior is I find it difficult to come up with workarounds and fixes.

Is there a place where these issues can be discussed (rather than just looking at each bug individually) ?

I'd ultimately like to be able to invoke

  `python -m unittest my.test.subpackage` 

and have unittest pick up all the tests within that recursively, with and without load_tests() functions.

(On a tangential note, I would also like to have a mode where the found tests are listed without being executed. I have hacked a pseudo-TestRunner that does that, but I'm not sure this is the best approach.)

Is there any place where the bigger picture can be discussed ?

Thanks,

----------

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


More information about the Python-bugs-list mailing list