[TIP] the detox experiment (parallelizing tox runs)

holger krekel holger at merlinux.eu
Wed Dec 21 01:07:29 PST 2011


Hi all,

i am currently playing with implementing parallelizing tox runs.
Here is the repo containing the experiment:

    http://bitbucket.org/hpk42/detox

If you get it and run "python setup.py install" or develop
you'll get a new command line tool "detox". If you then
do e.g. "detox -e py25,py27,py31" in your project all
sdist/virtualenv/testing activities will be parallelized.

However, the output from all activities mingles - there is an obvious
need for a refined approach to reporting such parallel runs.  Note also
that not all tox options are implemented even though they are shown with
"-h".  detox is <300 lines of code and uses eventlet/greenlets.
Comments and patch-forks welcome.

best,
holger



More information about the testing-in-python mailing list