[Twisted-Python] testing a tac file

Rob Hoadley hoadley at gmail.com
Mon Jun 29 16:19:53 EDT 2009


Hi, I'm curious if anyone has written a trial test to verify the
correct startup of a .tac file.

I have a buildbot running automated trial tests on all the services
I've written but nothing that closes the loop by building up the
services by running the tac file similarly to the way that you'd use
trial.   Ideally, I'd like to verify that the MultiService has
properly started up all the services from a list defined by the test.
I know this a fairly nitpicking problem.  In production, It's easy for
me to just ssh into the running process and see what's going on via
the manhole.  But, I was hoping to catch a badly behaving tac file in
the buildbot.  It may be something out of the scope of trial but I was
hoping someone has some integration test approaches for a twisted
project they could share.

thanks

-rob




More information about the Twisted-Python mailing list