Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace

The Microsoft.VisualStudio.TeamSystem.Data.UnitTesting namespace provides classes that you can use to create and execute database unit tests. A walkthrough of the database unit testing features is provided in Walkthrough: Creating and Running a Database Unit Test.

Classes

  Class Description
Public class ConnectionContext Establishes the context for the database connection that is associated with the database unit test.
Public class DatabaseTestAction Represents a set of Transact-SQL (T-SQL) batch statements and test conditions to validate whether the statement executed correctly.
Public class DatabaseTestActions Represents a database unit test.
Public class DatabaseTestClass Represents the base class for a database unit test.
Public class DatabaseTestService Provides services to tests during execution.
Public class ExecutionResult Contains the results of a database unit test that was generated by calling Execute.