| Store | Cart

Unit testing - suitable for all development?

From: John J. Lee <j...@pobox.com>
09 Mar 2004 20:56:39 +0000
kylotan at hotmail.com (Kylotan) writes:
[...]
> This is one thing that puzzles me. I don't write bug-free code - far> from it - but I can't say I remember any significant times when I> introduced code that broke earlier code. I follow the Firefox and> Thunderbird open source projects and often hear about 'regressions' in> the latest builds. This surprises me, as I just don't get this in my> own work. I suppose the main difference is that my projects are an> order of magnitude smaller and every line of code is written by> myself.

That's certainly part of the explanation, but I suspect not all of it.
I think you're failing to notice regressions that you would find if
you had good, high quality, unit test coverage.

Mind you, the code that I've thoroughly applied unit testing to is
choc-a-bloc with obscure special cases, because it has to conform to
complicated internet standards, so it probably benefits more from unit
testing than other kinds of code.  Other people with more experience
in different areas report similar regressions, though.


John

Recent Messages in this Thread
Kylotan Mar 07, 2004 04:39 pm
John Roth Mar 07, 2004 05:48 pm
Kylotan Mar 07, 2004 11:15 pm
John J. Lee Mar 08, 2004 12:28 am
Kylotan Mar 08, 2004 08:22 pm
John J. Lee Mar 09, 2004 08:56 pm
John Roth Mar 08, 2004 02:47 am
Kylotan Mar 08, 2004 09:00 pm
wmwd...@sneakemail.com ) (Greg Ewing (using news.cis.dfn.de) Mar 09, 2004 02:16 am
Geoff Howland Mar 14, 2004 12:22 am
Roy Smith Mar 08, 2004 03:19 am
Roy Smith Mar 07, 2004 05:50 pm
Kylotan Mar 08, 2004 01:51 am
Cameron Laird Mar 08, 2004 01:17 pm
Lidor Wyssocky Mar 10, 2004 11:38 am
Messages in this thread