[TIP] pytest, making a standalone script with extensions

francis francismb at email.de
Sat Dec 3 05:15:45 PST 2011

Hi all,
I've started evaluating and playing with pytest to use it as a 
replacement of our
actual test script and some questions arose (sorry If too trivial):

I would like too used it as standalone script (“--genscript” option) so 
that I can
integrate it into the repository and so coworkers don't have to “install 
yet another
python package or decency” (is that a good practice?). To do that I hat 
to install
the package and it's dependencies locally manually first (as I got a timeout
using pip and easy_install) and then I've generated the standalone 
script. Is there
a way to do that without first having to installing it?

I would like to use the extension 'xdist'. Is there a way to generate a 
with this extension integrated in it?

Thanks in advance !


More information about the testing-in-python mailing list