Writing Unit Tests for the .NET Framework with the Microsoft Unit Test Framework for Managed Code

In this section

Walkthrough: Creating and running unit tests for managed code

Quick start: Test driven development with Test Explorer

Using Microsoft.VisualStudio.TestTools.UnitTesting members in unit tests

Using the Assert classes

How to: Create a data-driven unit test

Unit tests for generic methods

How to: Configure unit tests to target an earlier version of the .NET framework

Sample project for creating unit tests