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
Maria Blees introduces WinUnit, a handy new unit testing tool for native C++ projects.
MSDN Magazine February 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
When running your tests how do you know which parts of your product code are actually executed and tested? This article presents a complete system called Fundamental Function code coverage that operates at the method level. The author gives an overview of the system so you can understand code coverage principles, explains the key parts of the underlying code, and discusses how code coverage fits into the overall product development cycle. After reading this article you will be able to perform code coverage analysis on any .NET software system.
MSDN Magazine April 2004
It's easy to postpone stress testing when developing an application, and it's easy to forgo it altogether. Having an easy-to-use framework at your fingertips to conduct these tests can make the task far less painful. This article walks you through an application that eases the task of generating load for a variety of layers within an application.
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 );