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 | |
---|---|---|
ConnectionContext | Establishes the context for the database connection that is associated with the database unit test. | |
DatabaseTestAction | Represents a set of Transact-SQL (T-SQL) batch statements and test conditions to validate whether the statement executed correctly. | |
DatabaseTestActions | Represents a database unit test. | |
DatabaseTestClass | Represents the base class for a database unit test. | |
DatabaseTestService | Provides services to tests during execution. | |
ExecutionResult | Contains the results of a database unit test that was generated by calling Execute(ConnectionContext, String, array<DbParameter[]). |