The Artima Developer Community
Sponsored Link

.NET Buzz Forum
When is a Unit Test not really a Unit Test

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Marcus Mac Innes

Posts: 90
Nickname: macinnesm
Registered: Mar, 2004

Marcus Mac Innes is solutions architect and director of Style Design Systems Ltd
When is a Unit Test not really a Unit Test Posted: Nov 7, 2004 10:48 AM
Reply to this message Reply

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.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Marcus Mac Innes
Latest Posts From Marcus Mac Innes' Blog

Advertisement

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 :

Mock mock = new DynamicMock(typeof(Something)); // create a mock

check out NMock, a mock object framework for .NET.

 

Read: When is a Unit Test not really a Unit Test

Topic: NEC's Office Vision Previous Topic   Next Topic Topic: Is Steve Ballmer an idiot :-))

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use