Re: [Twisted-Python] Automatic test for Twisted

2009-05-29 Thread Reza Lotun
On Fri, May 29, 2009 at 3:01 AM, David Ripton wrote: > Another option is nose.  Google for "nose.twistedtools" I've used nose for twisted unittests - and it usually works fine for my purposes. Just to expand a bit on how *I've* used it: from nose.twistedtools import deferred from twisted.intern

Re: [Twisted-Python] Automatic test for Twisted

2009-05-28 Thread David Ripton
On 2009.05.28 16:41:20 -0400, Drew Smathers wrote: > On Thu, May 28, 2009 at 4:24 PM, Juanjo Conti wrote: > > is there a way to write sort of unittest for Twisted and run them? > > Yes, with twisted.trial: > > http://twistedmatrix.com/projects/core/documentation/howto/testing.html Another optio

Re: [Twisted-Python] Automatic test for Twisted

2009-05-28 Thread glyph
On 08:44 pm, ber...@luffy.cx wrote: OoO En cette soirée bien amorcée du jeudi 28 mai 2009, vers 22:24, Juanjo Conti 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 th

Re: [Twisted-Python] Automatic test for Twisted

2009-05-28 Thread Vincent Bernat
OoO En cette soirée bien amorcée du jeudi 28 mai 2009, vers 22:24, Juanjo Conti 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 unit

Re: [Twisted-Python] Automatic test for Twisted

2009-05-28 Thread Drew Smathers
On Thu, May 28, 2009 at 4:24 PM, Juanjo Conti wrote: > Hi, > > is there a way to write sort of unittest for Twisted and run them? > Yes, with twisted.trial: http://twistedmatrix.com/projects/core/documentation/howto/testing.html -Drew ___ Twisted-Pyt