cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <...@apache.org>
Subject Re: Mock objects
Date Sat, 24 Jul 2004 20:25:30 GMT
Il giorno 24/lug/04, alle 22:21, Brian McCallister ha scritto:

> When you put a mock in an object, which is used by what you are 
> testing (easy to do) in order to make behavior correctly you get 
> non-obvious dependencies for internal changes. Really the rule should 
> be "ruthlessly obey the Law of Demeter."
>
> Does this make any sense?

In theory, yes, I can follow you. But I have too little experience with 
mocks (and unit testing in general) to be able to appreciate the finer 
points. Anyway, thanks.

-- 
Ugo Cei - http://beblogging.com/

Mime
View raw message