[Numpy-discussion] ticket 788: possible blocker
Charles R Harris
Tue May 13 12:43:43 CDT 2008
On Tue, May 13, 2008 at 11:25 AM, Robert Kern <firstname.lastname@example.org> wrote:
> On Tue, May 13, 2008 at 11:12 AM, Travis E. Oliphant
> <email@example.com> wrote:
> > Besides, having a "test-per-checkin" is not the proper mapping in my
> > mind. I'd rather see whole check-ins devoted to testing large pieces
> > of code rather than spend all unit-test foo on a rigid policy of
> > "regression" testing each check-in.
> Stéfan is proposing "test-per-bugfix", not "test-per-checkin". That is
> eminently feasible. You need to do some kind of testing to be sure
> that you actually fixed the problem. It is simply *not* *that* *hard*
> to write that in unit test form.
I'll add that every time I've tried to write comprehensive tests for
subsystems while cleaning up code, undiscovered bugs show up: complex arccos
using the wrong branch, some logical operators having the wrong signature. I
expect the first has been there since numeric prehistory, and the second for
several years. Those aren't subtle bugs, they are just bugs.
Now that development has slowed down, I think it is time to start working on
comprehensive tests that verify that numpy works as supposed. This will also
help us pin down what the specs for various functions actually are,
something that can be a bit nebulous at times.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion