[py-dev] merging new distributed testing approach
holger krekel
hpk at trillke.net
Tue Aug 29 07:59:15 CEST 2006
Hi folks,
Maciej Fijalkowski (as part of his Summer of PyPy involvement)
and me nicely sprinted in Ireland a couple of days on evolving
py.test to perform ad-hoc distributed testing. The work is
living in this branch
https://codespeak.net/svn/py/branch/distributed
and incorporates a partial rewrite of the session and reporting
logic. With "py.test --session=R" the new
py/test/resssion/rsession.py's RSession will come into play
and distribute tests to a number of ssh-address specified
hosts. The ssh-hosts need to be specified in a conftest.py
with "disthosts=['sshaddress1', 'sshaddress2', ...]"
The new session object does not implement all the
TerminalSession's options yet.
As only a few refactorings/refinements were needed in the rest
of the py lib, and the current py.test logic continues to be
in effect by default, Maciej and me intend to merge the
branch this week to simplify development and have more early
users.
If you notice any behaviour regressions for the still non-distributed
py.test default running, please notify here on the list or on the issue
tracker. It then remains to be seen when/how we declare the
non-distributed case a special case of the distributed one.
best,
holger
--
merlinux GmbH Steinbergstr. 42 31139 Hildesheim
http://merlinux.de tel +49 5121 20800 75 (fax 77)
More information about the py-dev
mailing list