On Mon, 2004-01-05 at 07:43, Ben Walding wrote:

> I don't necessarily agree that getters and setters should be tested 
> explicitly.  

As far as code and development go in general I don't think there is ever
a downside in being explicit. Who knows how the code will evolve and who
knows what will change and given that it's very simple to test them I
see no harm in the additions of simple tests for properties.

> If you are exercising your beans properly, the getters and 
> setters should be getting hit by other methods. If they are not getting 
> hit, and you have good coverage across the board, then that tends to 
> indicate that you might not need those attributes any more.
> 
> 
> Just another perspective...
> 
> 
> Ben
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to