gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] more on the merge-fest


From: Andrew Suffield
Subject: Re: [Gnu-arch-users] more on the merge-fest
Date: Wed, 26 Nov 2003 12:59:26 +0000
User-agent: Mutt/1.5.4i

On Wed, Nov 26, 2003 at 01:34:32PM +0100, Thomas Zander wrote:
> On Wednesday 26 November 2003 12:21, Andrew Suffield wrote:
> > > > If cause and effect are separated by 500 lines of code, then no
> > > > amount of testing in 20-line chunks is going to demonstrate the
> > > > problem.
> > >
> > > Uhh, yes.  Because those intervening 500 lines of code must,
> > > themselves, also be unit-tested.
> >
> > So, now you know that somewhere in that 500 line chunk lies a bug. Are
> > you seriously suggesting that you can often spot it by inspection?
> 
> Read up on your testing methods; there are very good ways to test each if 
> and each switch in those 500 lines and let a certain test fail.
> Its all about writing more tests and knowing the 'border' cases.

This is a clone of the "more granularity" appeal, and it's still
wrong. You are operating under the assumption that the tests form a
complete, correct description of the behaviour of the program (if this
were true, then you could simply deploy the test suite and skip
writing the program).

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]