[Twisted-Python] Running Twisted tests with testtools

Jonathan Lange jml at mumak.net
Fri Feb 10 02:50:10 MST 2012


On Fri, Feb 10, 2012 at 8:43 AM, Free Ekanayaka <free at 64studio.com> wrote:
> Hi Jonathan,
>
> |--==> On Wed, 8 Feb 2012 22:12:34 +0000, Jonathan Lange <jml at mumak.net> said:
>
>  [...]
>  >>Would you elaborate on that and explain why you come to prefer it over
>  >>trial for your new projects?
>
>  JL> That's mostly documented here:
>
>  JL>   http://testtools.readthedocs.org/en/latest/overview.html
>
>  JL> and in the other docs. In a nutshell: details, fixtures, matchers, and
>  JL> a bunch of unittest extensions that make it much more flexible, making
>  JL> it easy to write things like parallel test runners
>
> Yeah, I like these features a lot too, but leaving out AsynchronousDeferredRunTest
> maybe one could use all these features on top of trial's TestCase,
> by using testtool's TestCase as a kind  of mixin. Not sure it'd work in
> practice though.
>

Why would you want to?

jml




More information about the Twisted-Python mailing list