Share via


Working with Unit Tests

Unit tests are an important tool for testers but especially for developers. Although the size of the "unit" being tested can vary, the Team System testing tools generate unit tests specifically for methods, including private methods. For more information, see Unit Tests Overview.

In This Section

  • Unit Tests Overview
    Describes the unit test type of the Team System testing tools. Introduces the concepts of generating and authoring unit tests in Visual Studio, testing private methods, and using the Unit Testing Framework.
  • Creating Unit Tests
    Provides links to topics about generating and authoring unit tests, including ASP.NET unit tests and data-driven unit tests.
  • Unit Test Sample
    Lets you obtain the "Woodgrove Bank" sample project, which contains code that you use in several walkthroughs.

Reference

  • Managing Tests
    Describes aspects of working with tests, including how to customize and filter test views, how to work with test lists, and how to associate tests with work items.
  • Running Tests
    Describes many aspects of running tests, including how to configure test runs, how to run tests in the Visual Studio IDE and on a command line, and how to debug while running a test. 
  • Test Results and Analysis
    Describes test results and ways to work with them, including how to view, save, and publish them and how to create bugs from them.
  • Working with Load Tests
    Describes the uses of load tests, how to edit and run them, how to collect and store load test performance data, and how to analyze load test runs.
  • Working with Generic Tests
    Describes how to create and run generic tests. Generic tests wrap external programs and tests that were not originally developed for use in the Team System testing tools.
  • Working with Ordered Tests
    Describes how to create ordered tests, which contain other tests that are meant to be run in a specified order.