Fwd: [TIP] Ann: portpicker - find & manage network ports on test hosts

Augie Fackler raf at durin42.com
Tue Mar 31 14:30:26 UTC 2015


This might be of interest for our testrunner, in case anyone is
looking for a yak to shave.


---------- Forwarded message ----------
From: Gregory P. Smith <greg at krypto.org>
Date: Mon, Mar 30, 2015 at 7:40 PM
Subject: [TIP] Ann: portpicker - find & manage network ports on test hosts
To: tip <testing-in-python at lists.idyll.org>


https://pypi.python.org/pypi/portpicker

Finding an available network port to use within a unit or integration
test is often an annoying prospect. The above library makes it easy.

Bonus: If you need it, it can also supply a portserver to manage
network port allocations to all test processes running on a given
host. Useful if you've got test host(s) that run a bunch of different
tests at once on each host. (follow the link to github for docs)

-gps

_______________________________________________
testing-in-python mailing list
testing-in-python at lists.idyll.org
http://lists.idyll.org/listinfo/testing-in-python


More information about the Mercurial-devel mailing list