[Python-Dev] built-in Python test runner

Donald Stufft donald at stufft.io
Tue Mar 5 21:33:14 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Barry Warsaw wrote:
> On Mar 05, 2013, at 02:11 AM, Donald Stufft wrote:
> 
>> Doesn't setuptools/distribute already have a setup.py test command?
>> That seems like the easiest way forward?
> 
> Yes, and in theory it can make `python setup.py test` work well.  But
> there are lots of little details (such as API differences for
> ensuring that doctests run, "additional tests" discovery, etc.) that
> make this often not work so well in practice.  Some of that is social
> and some of it is technical.  I still claim that including test suite
> information in a package's metadata would be a win, but maybe that's
> just too much to hope for right now.

For the "right now" solution you can easily override the test command
in setup.py. Long term this would be something that could be added to
the METADATA but I think it is (and rightly should be) lower priority
to actually getting it working for it's core purpose.

> 
> -Barry _______________________________________________ Python-Dev
> mailing list Python-Dev at python.org 
> http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/donald%40stufft.io
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)

iQIcBAEBAgAGBQJRNlaJAAoJEG48vOkzctz6SvsP/2+MYkn1NgcHdmaQg09A3MDH
a++7+hGGsXgQwwJ3q3u6T6Hzd1pokJI7hqGHAXBnkODrZZ8f9Z0+OP9I8HPUmo0D
mJDsDxn2VZImBkNZJlBGNFKIz4EjS5llFapzdl58ZkIVZ7Rz3PTaPVSiXOc+ppp7
xYkWXGnx+2DTFaHywi9qGsHrbAXqgcwIhXO29NYl98xA9X98/XSRiXmHVfNURA3U
1GV1G9H1Qfvu8YjfYfBCCUn6db6eLGVPO7VcxRh6Cyzfk5SFSuziCVI8v3t3msjw
KSba+8Pe3RQ7RS17VEJqCMQjkhhGnAndgIL3Jho41qb3g+Rdk2OP+weWbYV92Q8F
HL6QtPgm5/QS5tKyl6nK97+9q+NdhGOEzKOL0pBiF4HKdT0mKyBxqttVIgUDAVMQ
XcjhBu1wnpQnhkeZ8F3yGNubmE2tRdVVfhTfVDaA3ICl7uVBlbtUUMTJRK7DQ4vW
gzDk5aKJB8OHimC1ijeTQm3M2lXkS5z0e5IuaION2WrG5A2BEvH12d/I7ekc1Ixa
lVhScABFwY0UcrMt4td65er/w4Z0S+BL87SZMH1mffoS6XmL3fxUuOtAB+MUWDk7
Rd4xXnUFvr3SMmMRjSogpO/HO5IBpuzUwu0wqSz8qPcex+l+lHyOEHBDvacEcv9b
zvGYjfQuk+2hWlAqw5o4
=6ELp
-----END PGP SIGNATURE-----


More information about the Python-Dev mailing list