You can create unit tests in one of two ways: generate them from source code or author them by hand. The following topics describe both these methods.
How to: Generate a Unit Test
How to: Author a Unit Test
How to: Create an ASP.NET Unit Test
Coding a Data-Driven Unit Test
How to: Configure a Data-Driven Unit Test
How to: Test a Private Method
How to: Regenerate Private Accessors
Unit Testing Framework
Using the TestContext Class
Using the Assert Classes
Microsoft.VisualStudio.TestTools.UnitTesting
Microsoft.VisualStudio.TestTools.UnitTesting.Web
Unit Tests Overview
Managing Tests
Running Tests
Test Results and Analysis