[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 :)


|| Mark Thomas
|| If at first you don't succeed, skydiving isn't for you!

reply via email to

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