Maria Blees introduces WinUnit, a handy new unit testing tool for native C++ projects.
MSDN Magazine February 2008
View Complete Post
Matt Milner takes a look at some of the challenges and techniques related to testing Windows Workflow Foundation activities, workflows, and associated components.
MSDN Magazine November 2008
Jamie Laflen extols the benefits of TDD when applied to database development-and supplies some useful techniques along the way.
MSDN Magazine Launch 2008
Powerful Text Editing, Web Testing in .NET, Extended Unit Testing, and More
This month we look at advanced unit testing, object mocking, profiling, and lots more.
MSDN Magazine January 2008
Creating and using mock component servers simplifies unit testing. Use these examples to get started.
MSDN Magazine September 2007
Everybody's talking about unit testing and you want to get into the game too. But you don't want the tests to take up all your development time and energy. Fortunately Roy Osherove is here to dispel some testing myths and put you on the road to efficient unit testing.
MSDN Magazine January 2006
If you want to employ unit testing and test-driven development techniques in your database application development process, you'll have different factors to consider than you do when you're not involving a database. For example, you have to maintain a consistent state within the database and be able to roll back transactions when necessary. This article shows you how to get the best of unit testing for your database apps in a safe, usable manner.
MSDN Magazine June 2005
The problem: unit testing libraries, especially data access components, that have a complex set of dependencies. The solution: providing a dynamic mock implementation of your data access classes. Here the author explains just how to make testing easier and more reliable using NMock.
MSDN Magazine October 2004
I'm trying to unit test a very simple html helper but keep getting the following exception:
System.EntryPointNotFoundException: Entry point was not found.
public static string AdditionalUsersDropDownList( this HtmlHelper helper, int additionalUsers )
Dictionary<int, string> items = new Dictionary<int, string>( );
items.Add( 0, "None" );
for ( int i = 1; i <= 30; i++ )
items.Add( i, i.ToString( ) );
SelectList list = new SelectList( items, "Key", "Value", additionalUsers );
return helper.DropDownList( "AdditionalUsers", list );