[Twisted-Python] Automatic test for Twisted

glyph at divmod.com glyph at divmod.com
Thu May 28 16:30:07 MDT 2009


On 08:44 pm, bernat at luffy.cx wrote:
>OoO  En cette  soirée bien  amorcée du  jeudi 28  mai 2009,  vers 
>22:24,
>Juanjo Conti <jjconti at gmail.com> disait :
>>is there a way to write sort of unittest for Twisted and run them?
>
>Twisted even has  its own engine to run unit tests.  Look at the 
>sources
>of Twisted in  the test/ directory. There is a lot  of unittests you 
>can
>look at.

Twisted also comes with a tool for running these tests (and others; for 
example, your own).

You can run all of our tests by doing 'trial twisted' at the command 
line.




More information about the Twisted-Python mailing list