Export (0) Print
Expand All

Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace

 

The Microsoft.Data.Tools.Schema.Sql.UnitTesting namespace provides classes that you can use to create and execute database unit tests. You can add custom assertions to determine the success or failure of your tests.

ClassDescription
System_CAPS_pubclassConnectionContext

Represents the context for the database connection that is associated with the database unit test.

System_CAPS_pubclassExpectedSqlExceptionAttribute

Represents an attribute that specifies that a unit test is expecting a SqlException, and optionally specify the error number, severity, and state of the expected error.

System_CAPS_pubclassSqlDatabaseTestAction

Represents a set of Transact-SQL batch statements and test conditions to validate whether the statement executed correctly.

System_CAPS_pubclassSqlDatabaseTestActions

Represents a database unit test.

System_CAPS_pubclassSqlDatabaseTestClass

Represents the base class for a database unit test.

System_CAPS_pubclassSqlDatabaseTestService

Provides common functionality that is used by the SqlDatabaseTestClass and methods during test execution.

System_CAPS_pubclassSqlExecutionResult

Contains the results of a database unit test that were generated by calling M:Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestService.Execute(Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.ConnectionContext,System.String,System.Data.Common.DbParameter[]).

System_CAPS_pubclassTestScript

Represents a generated SQL test.

Return to top
Show:
© 2015 Microsoft