[Distutils] The 'test' command

Robin Dunn robin@alldunn.com
Wed Mar 28 11:46:39 2001


>
> I would prefer to have an option which then tells distutils
> which files should be run a regression test, e.g. tests=['a.py','b.py'].
>

How about

        tests = [('testDir1', ['a.py','b.py']),
                 ('testDir2', ['c.py','d.py', 'e.py']) ]

And it would then change into the specified test directory before running
the test scripts found there, and more than one group could be specified.

>
> Please don't make any assumptions about the framework behind the
> test suites -- not everyone is going to use pyunit for this...
>
> I'd suggest to simply run the scripts defined in the tests
> parameter and look at the resulting shell return code (0 - success;
> everything else: failure).
>

I agree.

--
Robin Dunn
Software Craftsman
robin@AllDunn.com       Java give you jitters?
http://wxPython.org      Relax with wxPython!