[TIP] Result protocol / problems being solved

Olemis Lang olemis at gmail.com
Tue Apr 14 06:33:18 PDT 2009


On Tue, Apr 14, 2009 at 5:28 AM, Robert Collins
<robertc at robertcollins.net> wrote:
> On Tue, 2009-04-14 at 11:13 +0100, Michael Foord wrote:
>
[...]
>> not be quite the correct method name) of TestRunners. Would it make
>> sense for the runTests method to take an optional result argument?
>

-1

> Well, TextTestRunner requires a TextTestResult, which is a little more
> than a TestResult.
>
> I'd like to see a runner that uses only the methods the top level
> TestResult interface provides, and have more of the output live on the
> TestResult. This would make suppling a runner, or a runner factory more
> useful and flexible.
>

+1

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:



More information about the testing-in-python mailing list