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

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.

Classes

  Class Description
Public class EmptyResultSetCondition Verifies that the specified ResultSet in the specified ExecutionResult is empty.
Public class ExecutionTimeCondition Allows 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 class InconclusiveCondition Represents the default condition added to the test SqlAction collection for each new DBTestMethod.
Public class NotEmptyResultSetCondition Verifies that the specified ResultSet in the ExecutionResult has at least one row.
Public class ResultSetCondition Represents the base class for all test conditions that operate on one ResultSet.
Public class RowCountCondition Specifies the number of rows that the ResultSet should contain.
Public class ScalarValueCondition Verifies that a particular value in a specific row and column was expected.
Public class TestCondition Represents a test condition.