Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #580

detox-0.9: speeding up tox/test runs with NUM(CORES)

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.unit0.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <holger@merlinux.eu>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.055
X-Spam-Evidence '*H*': 0.89; '*S*': 0.00; 'url:bitbucket': 0.05; 'pypi': 0.07; 'subject:test': 0.09; 'url:org)': 0.15; '175': 0.16; 'invocation': 0.16; 'models,': 0.16; 'received:eu': 0.16; 'refactoring': 0.16; 'url:issues': 0.16; 'runs': 0.20; 'install': 0.21; 'all,': 0.21; 'holger': 0.22; 'programming': 0.22; "i've": 0.24; 'installed': 0.25; 'header:User-Agent:1': 0.26; 'options': 0.26; 'installation': 0.26; 'subject:/': 0.27; 'generic': 0.27; 'run': 0.29; '(see': 0.30; 'code': 0.31; '(and': 0.31; 'lines': 0.32; 'morning': 0.32; 'running': 0.34; 'project': 0.35; 'url:org': 0.35; 'charset:us-ascii': 0.36; 'test': 0.36; 'to:addr:codespeak.net': 0.36; 'subject:with': 0.37; 'best,': 0.37; 'subject:: ': 0.37; 'some': 0.38; 'skip:o 20': 0.38; 'to:addr:python.org': 0.39; 'issues': 0.39; 'easy': 0.60; 'happen': 0.61; 'content-disposition:inline': 0.61; 'to:2**2': 0.61; 'first': 0.62; 'received:85': 0.64; 'to:addr:python- announce-list': 0.66; 'finally': 0.67; 'due': 0.70; 'console,': 0.84; 'p.s.:': 0.84; 'superiority': 0.84; 'choice.': 0.93
Date Wed, 13 Jun 2012 14:26:07 +0000
From holger krekel <holger@merlinux.eu>
To Testing in Python <testing-in-python@lists.idyll.org>, python announce <python-announce-list@python.org>, py-dev@codespeak.net
Subject detox-0.9: speeding up tox/test runs with NUM(CORES)
Mail-Followup-To holger krekel <holger@merlinux.eu>, Testing in Python <testing-in-python@lists.idyll.org>, python announce <python-announce-list@python.org>, py-dev@codespeak.net
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.20 (2009-06-14)
X-Mailman-Approved-At Wed, 13 Jun 2012 16:36:31 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.1125.1339598192.4697.python-announce-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1339598193 news.xs4all.nl 6917 [2001:888:2000:d::a6]:45743
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:580

Show key headers only | View raw


Morning all,

be the goats with you.

I've finally released detox-0.9 to PYPI which brings parallelizing
tox/test runs to your console, driving the test runner of your choice.
detox has the same options and invocation as the good old
one-step-after-the-other tox, the virtualenv-based generic test runner
(see http://tox.testrun.org).

install detox (and get tox installed for free!) with:

    pip install detox

and run it on a project which already has a tox.ini 
with some environments:

    detox -e py26,py27,pypy

to have all happen in parallel (packaging, virtualenv-creation,
installation of deps, running of tests).

Be the first to report issues to:

    http://bitbucket.org/hpk42/detox/issues

best,
holger

P.S.: due to the recent refactoring of tox and due to the superiority
of greenlet-based programming models, detox is only 175 lines of 
somewhat easy to read code :)

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

detox-0.9: speeding up tox/test runs with NUM(CORES) holger krekel <holger@merlinux.eu> - 2012-06-13 14:26 +0000

csiph-web