[issue9028] test_support.run_unittest cmdline options and arguments

anatoly techtonik report at bugs.python.org
Thu Jul 15 19:00:43 CEST 2010


anatoly techtonik <techtonik at gmail.com> added the comment:

Cool, unittest.main() worked for me, but I still lack the introspection to see what tests are available inside the file. Would there be any objections against quickly adding -l, --list option to expose the result of test discovery as it works now?

What are requirements for the old test_support.run_unittest code to reach unittest compatibility? Can't you just deprecate test_support.run_unittest() so maintainers get signal to upgrade their tests suite? Then the upgrade happen faster.


P.S. I do not need many plugin use cases right now. The test suite tools are often separated into three components - test discovery, test runner and test formatting, but that's all.

----------

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


More information about the Python-bugs-list mailing list