in reply to No, "We" Don't Have to Do Anything
Since it's a situation I hadn't run into, what's the incentive for me to write the failing test that keeps the problem from returning? I'm not the one with the bug ... you are. The code is failing your expectations, not mine. By writing the failing test, you are forcing me to look at the bug. More importantly, you've given me a repeatable yardstick by which to measure my progress.
One of the biggest reasons Pugs such a success is because the developers of Pugs don't write tests. (Audrey is actually (in)famous for not writing them, much to my dismay.) They have a legion of test-writers who contribute hundreds and hundreds of failing tests. It is so much easier to write code to pass a series of tests than it is to write code that is just wandering out into the blue.
Moral of the story: If you don't like something, write a failing test. Let that be your bitchfest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: No, "We" Don't Have to Do Anything
by chromatic (Archbishop) on Feb 23, 2006 at 04:40 UTC |