Re: chunked output
Ward Cunningham <[email protected]> Tue, 19 Aug 2003 13:04:05 -0700
| Newsgroups | gmane.comp.programming.tools.fit.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, August 19, 2003, at 11:53 AM, Charlie Poole wrote: > In C# you could use an interface or have the fixture provide an event > to be subscribed to. You could do the analog of either in many other > other languages, but maybe not all. My thought was to tie this into the right() and wrong() methods so that it was automatic. Perhaps there should be a doing() method to track fine grained progress. > This seems to introduce a third interface to those used by test writers > and fixture developers: the host application interface. Yes, that would be true, but it is a small, narrow interface. > To what extent > do we believe this must be standard across all languages? Could we > simply provice certain functionality and require the host to write the > glue for the various implementations? Or does it have to look exactly > the same to the host out of the box? I don't know the answer to any of these questions. I do know that batch performance is important and that it is a struggle to get people to add high performance interfaces to their code so that Fit can test against those interfaces instead of testing against the top. Perhaps adding a progress indicator to slow tests is to misunderstand the root problem. -- Ward Cunningham 503-245-5633 v mailto:[email protected] 503-246-5587 f http://c2.com