Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread Jonathan Lange
On Wed, Feb 8, 2012 at 7:05 AM, Glyph wrote: > On Feb 7, 2012, at 3:49 PM, Free Ekanayaka wrote: > >> Hi Jonathan, >> >> |--==> On Mon, 6 Feb 2012 19:01:30 +, Jonathan Lange >> said: >> >>  [...] >> >>  JL> As much as I would like to see that happen, I am not ever going to do >>  JL> anythin

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread Free Ekanayaka
Hi Glyph, |--==> On Wed, 8 Feb 2012 02:05:22 -0500, Glyph said: [...] G> The position that Twisted can take is that Trial is awesome and you G> should use Trial. testtools is a separate project, and you may G> elect to use it to enhance your trial experience. That sounds good to me.

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread Free Ekanayaka
Hi Jonathan, |--==> On Wed, 8 Feb 2012 08:32:27 +, Jonathan Lange said: [...] JL> I know it's bad form, but I endorse everything that Glyph said. Except JL> that I'd add that testtools is awesome and you should use that. Would you elaborate on that and explain why you come to prefer

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread Glyph
On Feb 8, 2012, at 12:22 PM, Free Ekanayaka wrote: > Probably a good addition to the documentation of the two projects would > be to describe the differences between the two and if there is any > reason one should use one or the other, beside bare taste. I can surely > help with that when I have

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread Free Ekanayaka
Hi Glyph, |--==> On Wed, 8 Feb 2012 12:30:14 -0500, Glyph said: G> On Feb 8, 2012, at 12:22 PM, Free Ekanayaka wrote: >>Probably a good addition to the documentation of the two projects >>would be to describe the differences between the two and if there is >>any reason one should use one

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread Jonathan Lange
On Wed, Feb 8, 2012 at 5:22 PM, Free Ekanayaka wrote: > Hi Glyph, > > |--==> On Wed, 8 Feb 2012 02:05:22 -0500, Glyph > said: > ... >  G> It's already compatible, as Jonathan said.  You can just use the >  G> trial runner with testtools tests. > > Even those returning deferreds and using Asynchr

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread Jonathan Lange
On Wed, Feb 8, 2012 at 5:24 PM, Free Ekanayaka wrote: > Hi Jonathan, > > |--==> On Wed, 8 Feb 2012 08:32:27 +, Jonathan Lange > said: > >  [...] > >  JL> I know it's bad form, but I endorse everything that Glyph said. Except >  JL> that I'd add that testtools is awesome and you should use th

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread Jonathan Lange
On Wed, Feb 8, 2012 at 5:30 PM, Glyph wrote: ... > (Plus, returning Deferreds should ideally be an edge case, even in the > context of testing Twisted stuff - as much as possible, tests should run > synchronously and simulate the events that cause asynchrony in the real > world, so that they can t

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread exarkun
On 8 Feb, 10:15 pm, j...@mumak.net wrote: > >> From the documentation: > >* Trial spins the reactor a couple of times before cleaning it up, > ``AsynchronousDeferredRunTest`` does not. If you rely on this >behavior, use > ``AsynchronousDeferredRunTestForBrokenTwisted``. I've expected for some

[Twisted-Python] Twisted in the Google Summer of Code?

2012-02-08 Thread Itamar Turner-Trauring
Sign up is sometime soon, and before considering this it'd be good to know we'd be able to find mentors to help the students with their projects. Would any developers working on Twisted be interested in being mentors for a student over the summer? -Itamar __

Re: [Twisted-Python] Twisted in the Google Summer of Code?

2012-02-08 Thread Corbin Simpson
On Wed, Feb 8, 2012 at 6:15 PM, Itamar Turner-Trauring wrote: > Sign up is sometime soon, and before considering this it'd be good to > know we'd be able to find mentors to help the students with their > projects. Would any developers working on Twisted be interested in being > mentors for a stude