Where did you learn to unit test? How did you learn?
Christopher Blunck
blunck at gst.com
Tue Apr 29 11:53:03 EDT 2003
Josh <joshway_without_spam at myway.com> wrote in message news:<b8m3cj$8vu$1 at ginger.mathworks.com>...
> Christopher Blunck <blunck at gst.com> wrote:
> ...
>
> > What advice can you offer on spreading the testing bug around?
>
> If you have an established codebase, it might be difficult to convince
> people to go back and add unit tests for all functionality. One good
> way to ease people into it is to get them to write a unit test for
> every bug-fix they make.
We do that already. It works to a certain extent. But usually
requires brow beating of the bug fixer. I guess we really just need
some time to pass. Unit testing is an investment and by definition
investments don't pay off immediately.
-c
More information about the Python-list
mailing list