in reply to When 100% Code Coverage Backfires
I'm a bit confused. If you need the test, then there must be some way to reach it, if you don't then its not needed. I don't understand how you think you can never reach it AND still must have the condition. If you are afraid of them changing something earlier, then don't you need a test earlier in the code to make sure that it is a comment so that if it is changed that test will fail?
___________
Eric Hodges
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: When 100% Code Coverage Backfires
by Ovid (Cardinal) on Mar 26, 2007 at 14:43 UTC |
In Section
Meditations