[Twisted-Python] Trial Test Runner

Markus Schiltknecht markus at bluegap.ch
Fri Nov 17 09:26:02 EST 2006


Jean-Paul Calderone wrote:
> It is not intended that users will subclass TrialSuite.


> You can put your expensive set up code into a free function which caches
> its result to avoid performing redundant work, then call it from whichever
> setUp methods need it.

You can not cache the startup of a process or of a network connection. 
Probably unit tests are not designed for such things, but I would like 
to use twisted as it's event based. And I want to test for events. It 
looks like a good fit.




More information about the Twisted-Python mailing list