On Tue, Mar 28, 2006 at 05:47:29PM +0100, David Cantrell wrote:
> Geoffrey Young wrote:
> 
> >> "Only the simplest of designs benefits from pre-coded tests, unless you 
> >> have
> >> unlimited developer time."
> > needless to say I just don't believe this.
> 
> Try writing a test suite ahead of time for a graphing library.  It's 
> possible (indeed, it's trivial - just check the md5 hashes of the images 
> that are spat out against images that you have prepared ahead of time in 
> some other way) but it would be damnably time-consuming to create those 
> tests.  Consequently, I've not bothered.  I throw data at it, and look 
> at the results.  If the results are good I then put an md5 hash of the 
> image into a regression test.

Strawman.

A graphing library is an obvious example where functional testing should be
used prior to automated regression testing.

Ben

Reply via email to