[Twisted-Python] Asynchronous unit tests

Oct. 28, 2002
12:17 p.m.
Attached is an asynchronous unit testing framework. If you inherit from deferunittest.DeferredTestCase instead of inheriting from unittest.TestCase, then test methods can return a Deferred, which should be handled appropriately by the framework. An example test suite is also attached. Note that this required some modifications to the pyunit.unittest, in order to make things accessible to the subclass. A patch to the unittest.py currently in twisted cvs is attached. I'm not feeling too sure about this whole thing, so feedback is highly appreciated. cheers, jml
8173
Age (days ago)
8173
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jonathan Lange