[Zope3-dev] Re: The bug fixing problem
Lennart Regebro
regebro at gmail.com
Thu Jul 6 14:03:01 EDT 2006
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.
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
More information about the Zope3-dev
mailing list