[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: |
Mark Thomas |
Subject: |
Re: [Gnu-arch-users] more on the merge-fest |
Date: |
Wed, 26 Nov 2003 10:10:51 +0000 (GMT) |
On Tue, 25 Nov 2003 address@hidden wrote:
> On Tue, Nov 25, 2003 at 07:41:52PM +0000, Mark Thomas wrote:
> > This style of unit testing is not a panacea. It encourages "coding to the
> > test suite" where you just write code so that it passes (unless you have a
> > perfect test suite, which you won't, there can still be some cases that
> > you miss. The worst case scenario is where in writing for a buggy test
> > suite, you actually break the code).
>
> Practice proves that the behavior you are worried about actually never
> happens.
What?! I saw an example of it the day before yesterday (bug in the unit
test, developer wrote code to make the unit test pass [he didn't
understand the spec and assumed the unit test was correct]).
> Anyway; thanx for your opinion, I just wanted to find out if the unit-testing
> stuff as I know it was known here, since I have never actually see test cases
> outside of java. The C++ ones are a second, but they were pretty pathethic :}
Yes, the Java crowd seem to make lots of noise about things which other
people just go "hey, that's cool, I'll use that sometime," and get on with
their work :)
Regards,
Mark.
--
|| Mark Thomas
|| efaref.net
||
|| If at first you don't succeed, skydiving isn't for you!
- [Gnu-arch-users] more on the merge-fest, Tom Lord, 2003/11/25
- Re: [Gnu-arch-users] more on the merge-fest, zander, 2003/11/25
- Re: [Gnu-arch-users] more on the merge-fest, Mark Thomas, 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, Tom Lord, 2003/11/25
- Re: [Gnu-arch-users] more on the merge-fest, Karel Gardas, 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, Stephen J. Turnbull, 2003/11/25
Re: [Gnu-arch-users] more on the merge-fest, Florian Weimer, 2003/11/25