[Twisted-Python] Trial: State of the Union
Thomas Vander Stichele
thomas at apestaart.org
Wed Apr 12 05:28:55 MDT 2006
Hi,
> 2. Trial Reactor (http://twistedmatrix.com/trac/ticket/1334)
> Jp has indicated that this is the best way for Trial to do cleanup
> after each test.
How does this work if currently a project chooses a specific reactor
because that's what the tests need ?
For example, some of our UI unit tests use the gtk2reactor/glib2reactor
because otherwise they can't run. Same for some of our GStreamer-using
tests, which need a glib main loop.
Maybe whatever trial needs can be implemented as an IReactorIface or a
mixin instead ?
Thomas
More information about the Twisted-Python
mailing list