On Sun, Jun 22, 2008 at 11:25 AM, Tarek Ziadé <[EMAIL PROTECTED]> wrote:
> Hi, > > Like discussed earlier, some people will work today on adding tests to > setuptools. > > The idea is to add human-readable doctests to setuptools a bit like what > zc.buildout has. > > I am planning to create one doctest per setuptools feature, and some > general doctest that > demonstrates the usage of the tool. (functional tests but preferrably with > no os.popen/os.system magic) > Heres a first quick draft for 'develop': http://paste.plone.org/22122 It uses a bit of magic to simulate a command line usage like in zc.buildout, to avoid having to write too much test fixture in the doctests. It prints out all infos written by setuptools to distutils.log.info (so to stdout as well) I guess this is enough to write functional tests for all commands, I am going to write similar doctest for all commands, Phillip, is this what you had in mind ? Regards Tarek
_______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
