[Twisted-Python] Trial Test Runner
exarkun at divmod.com
Fri Nov 17 09:53:05 EST 2006
On Fri, 17 Nov 2006 15:26:02 +0100, Markus Schiltknecht <markus at bluegap.ch> wrote:
>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.
This may be a trial limitation which needs to be addressed. On the other
hand, unit tests which involve processes and the network are not as good
as unit tests which don't involve such things.
>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.
It sounds like you're not really writing a unit test suite. What are you
More information about the Twisted-Python