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/

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to