GNOME Platform Stormclouds
Posted Mar 28, 2004 18:18 UTC (Sun) by
bronson (subscriber, #4806)
In reply to:
GNOME Platform Stormclouds by mly
Parent article:
GNOME Platform Stormclouds
Writing a comprehensive set of unit tests is realistic only for easily-definable portions of your program. Think of the amount of code required to fully test, say, a web browser. It would take years to write and you could never hope to make it complete. The problem space is just too complex. Unit tests are excellent, but they can't be applied universally.
"...not to go back to old fashioned languages where you have to write several times more code than you need with a modern language."
And yet you advocate writing comprehensive volumes of unit tests? Even if your surprising claim of "several times more code" were true, given the length of each of your replies to this story, I'm surprised that you should be so afraid of a few more keystrokes. :-)
mly, have you ever released a project that demonstrates your approach to unit testing? I'd like very much to see an example of what you advocate. For comparison, I wrote unit tests into Trestlemail 4 years ago. It took a very long time to write and debug those 150 tests, yet they were hopelessly insufficient. And Trestlemail has a simple problem space.
(
Log in to post comments)