[Zope-Coders] How to get going :-)
Tim Peters
tim@zope.com
Thu, 27 Sep 2001 17:48:38 -0400
[Steve Alexander]
> ...
> If I want to check in a bugfix, that poses the question of why there is
> a bug to be fixed. That suggests the bug was not covered by a test, and
> therefore, we need a test that proves the bug is fixed, that would have
> failed before the bugfix.
>
> Any thoughts on this?
A bug is actually (at least) two bugs: the obvious bug, but also a bug in
the test suite that failed to catch it (since a test suite's purpose is to
catch bugs, a bug it misses is by defn. a failure of the test suite to do
its job).
> Can test suites get too bloaty?
Indeed they can, but I'd say we're years away from that, and when they get
to that point it's easy to trim that tests that haven't failed in the last
20 years <wink>.