Creating Unit Tests

This section provides instructions about how to create unit tests, gives some background information about how to test methods that have restricted access, and describes the various assert classes that you can use in unit tests.

In This Section

Reference

Microsoft.VisualStudio.TestTools.UnitTesting

Microsoft.VisualStudio.TestTools.UnitTesting.Web

Unit Tests and C++, Generics, Web Services, and Smart Devices

Anatomy of a Unit Test

Managing Tests

Running Tests

Analyzing Test Results

See Also

Tasks

Walkthrough: Creating and Running Unit Tests

Walkthrough: Run Tests and View Code Coverage

Walkthrough: Using the Command-line Test Utility

Walkthrough: Creating and Running a Smart Device Unit Test