Andrew Kuchling started writing up some ideas for functional tests for distutils some time ago in the Python wiki: http://www.python.org/cgi-bin/moinmoin/DistutilsTesting Since nothing appears to have followed on from that, I've gone ahead and added a couple of simple unit/integration tests to distutils. This is done partly so I can add new tests as I work on the various bits of distutils I need to touch to implement the improvements I'd like to see, but also so that all the distutils developers can help contribute to the long-term stability of the codebase. Anthony Baxter did a lot of work to document many of the modules that form the distutils; now we need tests to ensure that those interfaces don't break! Feel free to review the documentation (part of Python 2.4): http://www.python.org/dev/doc/devel/dist/api-reference.html and contribute tests! (Or improve the documentation, or fix bugs, or...) -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation
"Fred L. Drake, Jr."
Andrew Kuchling started writing up some ideas for functional tests for distutils some time ago in the Python wiki:
http://www.python.org/cgi-bin/moinmoin/DistutilsTesting
Since nothing appears to have followed on from that, I've gone ahead and added a couple of simple unit/integration tests to distutils.
I noticed that the test don't run from the command line. Is it ok to add the usual if __name__ == "__main__": unittest.main() Thomas
On Friday 18 June 2004 01:41 pm, Thomas Heller wrote:
I noticed that the test don't run from the command line. Is it ok to add the usual
if __name__ == "__main__": unittest.main()
It works for me, using either Lib/distutils/tests/__init__.py or Lib/test/test_distutils.py. What did you try that didn't work? -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation
"Fred L. Drake, Jr."
On Friday 18 June 2004 01:41 pm, Thomas Heller wrote:
I noticed that the test don't run from the command line. Is it ok to add the usual
if __name__ == "__main__": unittest.main()
It works for me, using either Lib/distutils/tests/__init__.py or Lib/test/test_distutils.py. What did you try that didn't work?
I tried to run the test_build_py.py and test_install_scripts.py. Thomas
participants (2)
-
Fred L. Drake, Jr.
-
Thomas Heller