Click to Rate and Give Feedback
MSDN
MSDN Library
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Team System
Working with Data-Driven Unit Tests

A data-driven unit test is a unit test that is run repeatedly for each row in a data source. You can, for example, retrieve data from the rows of a database table and pass the data to successive calls of a single test method. The topics in this section describe how to create and configure data-driven unit tests, and how to troubleshoot such a test if it fails to run.

Overview of Data-Driven Unit Tests

Describes the purpose of data-driven unit tests, explains how to view their results, and provides links to information about creating data-driven unit tests.

Data-Driven Unit Tests

Describes how to create a data-driven unit test and provides a code example.

Troubleshooting Data-Driven Unit Tests

Provides help to solve connection, authentication, deployment, or other problems when you run data-driven unit tests.

How to: Configure a Data-Driven Unit Test

Describes how to change a unit test so that it runs repeatedly while using data from a data source.

Walkthrough: Using a Configuration File to Define a Data Source

This walkthrough shows how to define, in an app.config file, a data source that will supply data to a data-driven unit test.

Other Resources

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker