Re: how many bugs do you find and correct during TDD?
From: Nick Landsberg (SPAMhukolauTRAP_at_SPAMworldnetTRAP.att.net)
Date: 12/31/04
- Next message: Tammy: "Re: how many bugs do you find and correct during TDD?"
- Previous message: Nick Landsberg: "Re: how many bugs do you find and correct during TDD?"
- In reply to: Tammy: "Re: how many bugs do you find and correct during TDD?"
- Next in thread: Tammy: "Re: how many bugs do you find and correct during TDD?"
- Reply: Tammy: "Re: how many bugs do you find and correct during TDD?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Dec 2004 05:00:35 GMT
Tammy wrote:
>
> Andrew McDonagh wrote:
>
>> It certainly prevents MOST bugs from happening - as the test code
>> (which is written first) must have a bug* which allows the application
>> codes bug to be undetected (i.e. not executed during a test run).
>
>
> Then how many bugs do you find?
It might be useful to categorize bugs, rather than
put them all into the same bucket, e.g.
Category 1: The system is unusable unless this bug is fixed.
(One presumes TDD adresses this problem quite well.
There may hav been bugs during development, but they
were cleared up before shipping to the client.)
Category 2: The system is broken, but can be used with
some bellyaching from the users. They are not happy.
(One presumes that TDD addresses this problem quite well
also.)
Category 3: The system does what it's supposed to do,
but certain things go haywire once in a while. (This
may or may not be a Cat 1 or 2 bug, depending on the kind
of system you're working on.)
Category 4: "Wouldn't it be nice if" (WIBNI) the system
also did *this*. This is not a bug but an enhancement
request. If it is of high value, you might work on it
prior to a Cat 3.
Notice, that I didn't mention anything which was caught
either by developer testing, integration testing, system
tesing or the like. Nor did I mention typo's pre-compile.
So, now, Tammy, what kind of bugs are you talking about?
A very strict definition of a bug is "one that is delivered
to the customer." I don't think you have that in mind, though.
NPL
Note: I am not an avid proponent of TDD. I feel that
it's just one tool in the craftsman's toolkit. Not the
end-all and be-all. But, it's useful for functional
requirements. It's use for performance and realiability
requirements is still suspect.
-- "It is impossible to make anything foolproof because fools are so ingenious" - A. Bloch
- Next message: Tammy: "Re: how many bugs do you find and correct during TDD?"
- Previous message: Nick Landsberg: "Re: how many bugs do you find and correct during TDD?"
- In reply to: Tammy: "Re: how many bugs do you find and correct during TDD?"
- Next in thread: Tammy: "Re: how many bugs do you find and correct during TDD?"
- Reply: Tammy: "Re: how many bugs do you find and correct during TDD?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|