Hi Jonathan, |--==> On Wed, 8 Feb 2012 22:12:34 +0000, Jonathan Lange <j...@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. JL> I don't really have a summary of why ADRT is better than Trial's JL> deferred test support. It's largely because you get better debugging JL> information for failed tests (that's what "details" are all about) and JL> because reactor cleanup issues are more localized to individual tests JL> due to not having to support addCleanup and making no promises about JL> what happens outside of test execution. Fair enough and good to know, thanks. Cheers, Free _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python