[TIP] Tasting the Cheeseshop

Barry Warsaw barry at python.org
Thu Oct 20 10:29:01 PDT 2011


On Oct 18, 2011, at 04:51 PM, Éric Araujo wrote:

>I assume that by “environment” you mean executing commands to e.g. start
>a daemon process that the tests need.  IMO, such setup belongs in the
>tests’ __init__ module or setUp/setUpClass methods, but I don’t have
>much experience with complex test environments; the hardest thing I’ve
>done is probably starting a redis server, which is very easy :)

I've done some slightly more complex stuff, e.g. start a mail server or other
subprocesses.  It can get tricky for sure, but it's often doable.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20111020/bf599c97/attachment.pgp>


More information about the testing-in-python mailing list