Once you've finally gotten it into your teammates' heads that checking in code that breaks the build is a Very Bad Thing, you can break the build yourself, and not get blamed for it. How? Very simply. When you discover that one of your teammates has checked in flakey code, add a test case that demonstrates a failure, and check in the test case. Boom, there goes the build. But is is your fault? Heh heh, no.
I'm really loving this aspect of unit testing right now.
(Cue maniacal laughter)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: The Evil Pleasures of Unit Tests
by tachyon (Chancellor) on Aug 30, 2003 at 09:21 UTC | |
by dws (Chancellor) on Aug 30, 2003 at 10:03 UTC | |
by tachyon (Chancellor) on Aug 30, 2003 at 12:27 UTC | |
by pdcawley (Hermit) on Aug 31, 2003 at 06:21 UTC | |
by dws (Chancellor) on Aug 31, 2003 at 08:54 UTC | |
by halley (Prior) on Sep 02, 2003 at 17:59 UTC | |
| |
by pdcawley (Hermit) on Sep 03, 2003 at 14:30 UTC | |
| |
Re: The Evil Pleasures of Unit Tests
by adrianh (Chancellor) on Aug 30, 2003 at 09:22 UTC | |
Re: The Evil Pleasures of Unit Tests
by zakzebrowski (Curate) on Aug 31, 2003 at 20:03 UTC | |
Re: The Evil Pleasures of Unit Tests
by Steve_p (Priest) on Sep 03, 2003 at 16:50 UTC |
Back to
Meditations