cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Dushin <f...@dushin.net>
Subject Re: CXF-438 Patch; HTTP(S) Trust Decision
Date Wed, 21 Mar 2007 00:34:14 GMT
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.


Mime
View raw message