Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: A danger of test driven development.

by Your Mother (Bishop)
on Oct 03, 2005 at 17:05 UTC ( #496991=note: print w/replies, xml ) Need Help??


in reply to Re: A danger of test driven development.
in thread A danger of test driven development.

I agree w/ pg.

The code came quickly back to me. Remember the hairy code I changed to pass the tests? Well, it was correct after all, and I broke it. The tests turned out to be wrong.

It sounds like you had missing tests. If the field testers found a bug the code tweak introduced, there was a missing test case to match whatever it was they did to uncover it. For my own part, I have found meta-tests (like for the final object state or something; more like a user would see) to uncover bugs in my code better than micro-tests (checking return values from subs/methods; more like the hacker sees).

  • Comment on Re^2: A danger of test driven development.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://496991]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2019-12-15 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?