[Python-Dev] Python Language Summit at PyCon: Agenda
Barry Warsaw
barry at python.org
Mon Mar 4 17:51:04 CET 2013
On Mar 04, 2013, at 11:34 AM, Brett Cannon wrote:
>> And One True Way of invoking and/or discovering how to invoke, a package's
>> test suite.
>
>How does unittest's test discovery not solve that?
I should have added "from the command line". E.g. is it:
$ python -m unittest discover
$ python setup.py test
$ python setup.py nosetests
$ python -m nose test
$ nosetests-X.Y
Besides having a multitude of choices, there's almost no way to automatically
discover (e.g. by metadata inspection or some such) how to invoke the tests.
You're often lucky if there's a README.test and it's still accurate.
Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130304/4c353f64/attachment.pgp>
More information about the Python-Dev
mailing list