<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 15/12/2009 22:47, Robert Collins wrote:
<blockquote cite="mid:1260917279.3812.14.camel@lifeless-64" type="cite">
  <pre wrap="">On Tue, 2009-12-15 at 16:24 -0500, Olemis Lang wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">
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 &amp; Co.

PS: Does anybody knows about an exception to that &laquo;rule&raquo; ? 
    </pre>
  </blockquote>
  <pre wrap="">
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.
  </pre>
</blockquote>
<br>
I'm definitely in favour of making unittest more modular and
extensible, but am worried about creating a situation where there are
multiple incompatible extensions. It seems like this could be a problem
with the proposed outcomes.<br>
<br>
I'm interested in this discussion but have never had the need for
custom outcomes, so don't feel I can add very much here.<br>
<br>
Michael<br>
<br>
<blockquote cite="mid:1260917279.3812.14.camel@lifeless-64" type="cite">
  <pre wrap="">
-Rob
  </pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
testing-in-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a>
<a class="moz-txt-link-freetext" href="http://lists.idyll.org/listinfo/testing-in-python">http://lists.idyll.org/listinfo/testing-in-python</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.ironpythoninaction.com/">http://www.ironpythoninaction.com/</a>
<a class="moz-txt-link-freetext" href="http://www.voidspace.org.uk/blog">http://www.voidspace.org.uk/blog</a>

</pre>
</body>
</html>