I think it's fairly a defensible claim that having logic in
production code that is only used for testing purposes is bad practice.
If you need to hit 100% cvg and can't do it in a unit test, then
consider using a system test, instead.
-Fred
On Mar 20, 2007, at 2:23 PM, Polar Humenn wrote:
Well, I don't understand why we have *if* statements in the code
just to support the testing of the code. But maybe I can consider
it "instrumentation". However, in any case, this explicit use of it
should be documented up the wazzzo to prevent the "Huh??? what is
*this* used for?" that wastes time in discovery.