About unit tests
Par jd le vendredi, juillet 13 2007, 14:36 - Debian - Lien permanent
I just wrote something like 20 unit tests for rebuildd. Writing them, I found at least 2 critical bugs.
Either I'm bad, or unit tests are very useful.
Or both.
Soulmates never die.
Aller au contenu | Aller au menu | Aller à la recherche
Par jd le vendredi, juillet 13 2007, 14:36 - Debian - Lien permanent
I just wrote something like 20 unit tests for rebuildd. Writing them, I found at least 2 critical bugs.
Either I'm bad, or unit tests are very useful.
Or both.
Commentaires
Probably a little of both
Actually I've found unit tests to be extremely useful for coding, and I try to add them to all new code I touch.
I cannot count the cases where I wrote unit tests that found bugs in trivial functions I was absolutely certain were error-free.
Unit tests are very useful.
Fil des commentaires de ce billet