This documentation is archived and is not being maintained.

Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions Namespace

Visual Studio 2005

The Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.TestConditions namespace provides classes that you can use to manage test conditions. A walkthrough of the database unit testing features is provided in Walkthrough: Creating and Running a Database Unit Test. For more information about test conditions, see Using Test Conditions in Database Unit Tests.

Public classEmptyResultSetConditionVerifies that the specified ResultSet in the specified ExecutionResult is empty.
Public classExecutionTimeConditionAllows you to specify the maximum amount of time that the Transact-SQL (T-SQL) statement or statements can take to execute before the test fails.
Public classInconclusiveConditionRepresents the default condition added to the test SqlAction collection for each new DBTestMethod.
Public classNotEmptyResultSetConditionVerifies that the specified ResultSet in the ExecutionResult has at least one row.
Public classResultSetConditionRepresents the base class for all test conditions that operate on one ResultSet.
Public classRowCountConditionSpecifies the number of rows that the ResultSet should contain.
Public classScalarValueConditionVerifies that a particular value in a specific row and column was expected.
Public classTestConditionRepresents a test condition.