Code correctness, and testing strategies
Terry Reedy
tjreedy at udel.edu
Sat May 24 21:38:14 EDT 2008
"D'Arcy J.M. Cain" <darcy at druid.net> wrote in message
news:20080524164608.5a803201.darcy at druid.net...
| > But once you track down problems like the above you can write more
| > unit tests to catch those exact bugs in the future. This is one case
| > where I do favour unit tests.
|
| Yes! One of the biggest advantages to unit testing is that you never
| ever deliver the same bug to the client twice. Delivering software
| with a bug is bad but delivering it with the same bug after it was
| reported and fixed is calamitous.
Writing a test for each code bug is now part of the Python maintenance
procedure.
More information about the Python-list
mailing list