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

ITestCaseHelper Interface

Provides helper methods and properties for ITestCase objects.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

public interface ITestCaseHelper

The ITestCaseHelper type exposes the following members.

  NameDescription
Public methodCount(String)Returns a count of the test cases that match the given query.
Public methodCount(String, IDictionary)Returns a count of the test cases that match the given query and context.
Public methodCreate()Creates a new test case object that will be created on the server only when the Save method of the test case is called.
Public methodCreate(WorkItemType)Creates a new test case object that will be created on the server only when the Save method of the test case is called.
Public methodDoRequiredFieldsExistReturns a value that indicates whether the administrator has customized this work item type to omit some or all of the fields that are required for all test cases.
Public methodFind(Int32)Retrieves a test case from the server by using the given test case identifier.
Public methodFind(Int32, Int32)Retrieves a test case from the server by using the given test case identifier and revision.
Public methodInPlansReturns a list of test cases that match the given query and that are either included in or excluded from a test plan.
Public methodIsWorkItemCompatibleReturns a value that indicates whether the provided work item is a test case.
Public methodQuery(String)Queries for test cases that match the provided query.
Public methodQuery(String, IDictionary)Queries for test cases that match the provided query and parameters.
Top

Community Additions

ADD
Show:
© 2015 Microsoft