[py-dev] py.test with setuptools

James Mills prologic at shortcircuit.net.au
Fri Oct 29 01:07:31 CEST 2010


On Thu, Oct 28, 2010 at 5:34 PM, holger krekel <holger at merlinux.eu> wrote:
> I've written up an example of what i think is currently the best way
> to go about it for all distutils (or setuptools) based projects:
>
>    http://codespeak.net/~hpk/pytest/goodpractises.html#integrating-with-distutils-python-setup-py-test
>
> Another option probably is to hack a bit deeper into setuptools and/or
> to wrap a py.test run into unittest "suites".  The latter is maybe worth
> to try out but the above documented method is very solid and avoids hassles
> i think.

Thanks Holger, I'll look at both methods.

cheers
James

-- 
-- James Mills
--
-- "Problems are solved by method"



More information about the Pytest-dev mailing list