|
![](/i/fill.gif) |
Darren New <dne### [at] san rr com> wrote:
> Why would I want to run the unit tests for the XML parser after making
> changes to the color picker dialog box? Or, more generally, why would I
> want to run unit tests that are only executing code that hasn't changed
> since last time the unit tests passed?
No amount of unit tests can catch all possible bugs. You may have a
thousand unit tests for a small module, yet there may still be bugs there.
In some cases these bugs *might* be triggered by seemingly unrelated
changes somewhere else in the program, even if there is no connection
between the two modules (might be less likely in "safe" languages, but
probably not impossible).
Unless running the unit tests takes hours, does it hurt to run them?
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |