[Twisted-Python] Trial Test Runner

Markus Schiltknecht markus at bluegap.ch
Fri Nov 17 07:26:02 MST 2006


Hi,

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

Okay.

> 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.

Ideas?

Regards

Markus




More information about the Twisted-Python mailing list