[Twisted-Python] Refactoring of trial - call for feature requests and suggestions

Christopher Armstrong radix at twistedmatrix.com
Tue Jun 15 09:58:23 EDT 2004


Glyph Lefkowitz wrote:
> On Tue, 2004-06-15 at 04:50, Christopher Armstrong wrote:
> 
> 
>>What's the point of this, exactly? How would you assert things about the 
>>result of the Deferred? I've been using the functions in 
>>twisted.trial.util for a while to deal with Deferreds in my tests, and 
>>it seems rather nice.
> 
> 
> The point of this is that running the reactor to wait for every Deferred
> is just as broken and tricky in tests as it is in real code.  The
> reactor should actually be running as it would be in a real application,
> not starting up and shutting down with every test.

Ok, but how will the APIs look? ("How would you assert things about the 
result of the Deferred?") And can you be specific on what problems it 
actually creates?

-- 
  Twisted | Christopher Armstrong: International Man of Twistery
   Radix  |          Release Manager,  Twisted Project
---------+           http://radix.twistedmatrix.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20040615/ab3dd63d/attachment.pgp 


More information about the Twisted-Python mailing list