On 7/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
When I have introduced secondary bugs in my fixes (which occasionally
happened), then a unit test would not have helped. The reason was then
that the affected code was used in unanticipated ways -- and
because it was unanticipated, I would not have written a test for it.
Sure. The point of the tests is not to prevent this. The point of them
is mainly to make sure that the thing you fixed says fixed.
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
Zope3-dev mailing list