Working with Unit Tests
Unit tests give developers and testers a quick way to check for logic errors in the methods of classes in C#, Visual Basic .NET, and C++ projects. A unit test can be created one time and run every time that source code is changed to make sure that no bugs are introduced.
Visual Studio 2008 Team Edition for Developers offers two test-related capabilities that were not available in Visual Studio 2005 Team Edition for Developers. First, you can now manage test lists. For more information, see Managing Large Numbers of Tests. Also, you can now obtain code coverage data when you run tests. For more information, see How to: Obtain Code Coverage Data.
For information about test-related capabilities for users of Visual Studio Professional Edition, see Using Testing Tools in Visual Studio Professional Edition.