[TIP] [issue5728] Support telling TestResult objects a test run has finished

Olemis Lang olemis at gmail.com
Mon Apr 13 05:18:27 PDT 2009

On Sat, Apr 11, 2009 at 8:17 AM, Michael Foord
<fuzzyman at voidspace.org.uk> wrote:
> Robert Collins wrote:
>> [snip....]
>> Now there was only one other thing to consider. I don't think we should
>> do it, but it should be mentioned in case someone has a good reason why
>> we should.
>> Should we pass the suite/test into startTestRun? Why? Because some
>> runners want to indicate progress - how many tests have run and how many
>> have yet to run. I decided *not* to because that interoperates very
>> badly with streaming interfaces, and believe that progress should be
>> incorporated into the incremental interface between test and result,
>> rather than requiring an up-front analysis of the size of the test
>> suite.
>> -Rob
> I agree that progress "should be incorporated into the incremental
> interface between test and result" and that there is no need to pass the
> suite into the result.
> Michael




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

Featured article:
Se retira el BDFL ... ¿El fin de Python 3k?  -

More information about the testing-in-python mailing list