This post originated from an RSS feed registered with .NET Buzz
by Marcus Mac Innes.
Original Post: When is a Unit Test not really a Unit Test
Feed Title: Marcus Mac Innes' Blog
Feed URL: http://www.styledesign.biz/weblogs/macinnesm/Rss.aspx
Feed Description: Issues relating to .NET, Service Oriented Architecture, SQL Server and other technologies.
Udi Dahan has posted an interesting article for anyone thinking about writing unit tests when implementing Test Driven Development (TDD) here. In the article he explains how the use of mock objects allows test writers to de-couple the implementation of the test code from dependent objects and thus enabling you to have a true "Unit Test".
For more information on mock objects and Udi's use of :