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.

--
David Cantrell

Reply via email to