[Zope3-dev] Re: The bug fixing problem

dieter at handshake.de dieter at handshake.de
Thu Jul 6 15:06:50 EDT 2006


Lennart Regebro wrote at 2006-7-6 20:03 +0200:
>On 7/6/06, dieter at handshake.de <dieter at handshake.de> 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.

I hear (also) other sounds than unit tests ;-)
Thus, my fixes can say "fixed" differently (without a passing unit test)...



-- 
Dieter


More information about the Zope3-dev mailing list