[TIP] unitteset outcomes (pass/fail/xfail/error), humans and automation

Robert Collins robertc at robertcollins.net
Tue Dec 15 14:47:59 PST 2009

On Tue, 2009-12-15 at 16:24 -0500, Olemis Lang wrote:
> But anyway , it is often possible to wrap the execution of those TFs
> using customized instances of TestCase thereby recording the results
> provided by those frameworks using TestResult & Co.
> PS: Does anybody knows about an exception to that «rule» ? 

Well yes, at the moment you cannot preserve the full resolution because
the unittest module isn't very extensible.

See for instance what nosetests's ErrorClassPlugin does / recommends:
monkey patching the result object :- something totally incompatible if
the result object is e.g. a gui result, or a remoting result.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20091216/2a756463/attachment.pgp>

More information about the testing-in-python mailing list