[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
- Re: [Gnu-arch-users] more on the merge-fest, (continued)
- Re: [Gnu-arch-users] more on the merge-fest, Florian Weimer, 2003/11/25
- Re: [Gnu-arch-users] more on the merge-fest, Samuel A. Falvo II, 2003/11/25
- Re: [Gnu-arch-users] more on the merge-fest, Andrew Suffield, 2003/11/25
- Re: [Gnu-arch-users] more on the merge-fest, Charles Duffy, 2003/11/25
- Re: [Gnu-arch-users] more on the merge-fest, Samuel A. Falvo II, 2003/11/25
- Re: [Gnu-arch-users] more on the merge-fest, Andrew Suffield, 2003/11/25
- Re: [Gnu-arch-users] more on the merge-fest, Samuel A. Falvo II, 2003/11/25
- Re: [Gnu-arch-users] more on the merge-fest, Andrew Suffield, 2003/11/26
- Re: [Gnu-arch-users] more on the merge-fest,
Thomas Zander <=
- Re: [Gnu-arch-users] more on the merge-fest, Andrew Suffield, 2003/11/26
- Re: [Gnu-arch-users] more on the merge-fest, Charles Duffy, 2003/11/26
- Re: [Gnu-arch-users] more on the merge-fest, Samuel A. Falvo II, 2003/11/26
- Re: [Gnu-arch-users] more on the merge-fest, Andrew Suffield, 2003/11/26
- Re: [Gnu-arch-users] more on the merge-fest, Samuel A. Falvo II, 2003/11/26
Re: [Gnu-arch-users] more on the merge-fest, Robert Collins, 2003/11/25
Re: [Gnu-arch-users] more on the merge-fest, Tom Lord, 2003/11/25
Re: [Gnu-arch-users] more on the merge-fest, Colin Walters, 2003/11/25
Re: [Gnu-arch-users] more on the merge-fest, Samuel A. Falvo II, 2003/11/25