[Distutils] test suite support

M.-A. Lemburg mal@lemburg.com
Mon Jan 14 16:34:01 2002


Achim Gaedke wrote:
> 
> I am using distutils that come with python2.2 to build and install the module
> pygsl (http://pygsl.sourceforge.net). In order to ensure quality I started to
> collect tests with unittest.
> 
> In analogy to the automake feature "make test" or "make check" I would like to
> have a standard test command for setup.py .

Why not add this as new "test" command to distutils ?! It could have 
options which programmers can then set in order for the command to find 
the test suits to run, e.g.

	python setup.py test

I'd suggest to use an approach similar to what build_ext and the
Extension class have to offer (in terms of code design).

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                   http://www.egenix.com/files/python/