Share via


DatabaseTestService Members

Provides services to tests during execution.

The following tables list the members exposed by the DatabaseTestService type.

Public Constructors

  Name Description
Public constructor DatabaseTestService Initializes a new instance of the DatabaseTestService class. 

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method DeployDatabaseProject Overloaded. Deploys the database project prior to the unit test being run.  
Public method Equals  Overloaded. (Inherited from Object.)
Public method Execute Executes the supplied DatabaseTestAction and evaluates the results of the execution using each TestCondition contained in the DatabaseTestAction's Conditions collection.  
Public method GenerateData Overloaded. Generates data in the specified database project prior to the unit test being run.  
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method OpenExecutionContext Opens the ConnectionContext to be used for a test's execution.  
Public method OpenPrivilegedContext Opens the context used when verifying the results of SQL execution and used when setting up the database.  
Public method Static ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Static DeployDatabaseProject Overloaded. Deploys the database project prior to the unit test being run.  
Protected method Finalize  (Inherited from Object.)
Protected method Static GenerateData Overloaded. Generates data in the specified database project prior to the unit test being run.  
Protected method MemberwiseClone  (Inherited from Object.)

Top

See Also

Reference

DatabaseTestService Class
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace