[Top][All Lists]

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

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

From: Thomas Zander
Subject: Re: [Gnu-arch-users] more on the merge-fest
Date: Wed, 26 Nov 2003 13:34:32 +0100
User-agent: KMail/1.5.4

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.

google for "fail fast unittest" to find out more about this.

Thomas Zander

reply via email to

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