[Distutils] setuptools "tests" sprint today
ziade.tarek at gmail.com
Sun Jun 22 14:20:07 CEST 2008
On Sun, Jun 22, 2008 at 11:25 AM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:
> Like discussed earlier, some people will work today on adding tests to
> 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':
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG