Tuesday, October 9, 2007

Different Definition of Mock Objects

Interesting take on Mock Objects is found in DotNetRocks show with Eli Lopian show 278 http://www.dotnetrocks.com/default.aspx?showNum=278

Eli Lopian stated - Mock object is a means of isolation. The Mock object is not important what is important is what it is isolating. ... We want to isolate our code to test it - so we must mock whatever is around it. It does not necessary have to be an object or an interface. We want to isolate our piece of code so we mock everything around it.

Interesting.. well worth a listen.

No comments: