[Distutils] test suite support
Wed Jan 16 13:52:00 2002
"Moore, Paul" wrote:
> From: Thomas Heller [mailto:firstname.lastname@example.org]
> > It seems the "official" way to do it would be to prepare the source
> > and then upload it as a patch to sourceforge. At least I would like
> > the people on python-dev to comment (most of them aren't subscribed
> > to distutils-sig).
> Good point - that would make sense.
Instead of discussing what the "right" way to do testing really
is, why not simply leave this decision to the package author and
only ask for an entry point, e.g.
tests = [ TestSuite('mytests', run=myunittests.run, verbose=1),
TestSuite('moretests', run=mymodule._test) ],
The only question I see coming up is whether to run tests
automatically or only at request.
CEO eGenix.com Software GmbH
Company & Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/