Running Database Unit Tests
In Visual Studio, you run database unit tests by using the Test Manager window, the Test View window, or the Command Prompt window.
In This Section
- How to: Run Database Unit Tests
Describes how you can run database unit tests, depending on the software that you have installed.
- How to: Run Database Unit Tests
Describes how you can run database unit tests by using the Test View window.
- How to: Debug Database Objects
Describes how you can debug the stored procedures, functions, and triggers in your database.
- How to: Configure Database Unit Test Execution
Describes how you can specify settings that control how your test connects to the database that you will test, how you deploy a schema from a database project to that database, and whether you populate the database with data.
- Overview of Connection Strings and Permissions
Describes how you can use connection strings to make sure that the scripts in your database unit tests are run with appropriate permissions.
- Interpreting Database Unit Test Results
Describes the meaning of the results that you obtain after you run database unit tests.
Related Sections
- Running Tests
Provides links to topics that describe how you can start to run any type of test, for example, from the Test View and Test Manager windows.
- Command-Line Test Execution
Provides links to topics that describe how you can use the MSTest.exe command to run tests, see test results, save results to disk, and publish results.
- Troubleshooting Test Execution
Describes some of the conditions that cause tests to generate errors, generate warnings, or fail to run and provides steps to resolve the problem.
- Designing Database Unit Tests
Describes how to create and add test conditions to a basic database unit test.
- Customizing Database Unit Tests in Visual C# or Visual Basic
Describes how to edit a basic database unit test to add functionality.
- Terminology Overview of Team Edition for Database Professionals
Provides definitions of terms that are specific to Team Edition for Database Professionals and contains a link to definitions for terms that relate to Visual Studio Team System.