[TIP] [issue5728] Support telling TestResult objects a test run has finished
Michael Foord
fuzzyman at voidspace.org.uk
Sat Apr 11 06:17:54 PDT 2009
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
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog
More information about the testing-in-python
mailing list