Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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.

 ClassDescription
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.

Community Additions

ADD
Show:
© 2015 Microsoft