Partager via


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)

Syntax

'Declaration
Public Interface ITestCaseHelper
public interface ITestCaseHelper
public interface class ITestCaseHelper
type ITestCaseHelper =  interface end
public interface ITestCaseHelper

The ITestCaseHelper type exposes the following members.

Methods

  Name Description
Public method Count(String) Returns a count of the test cases that match the given query.
Public method Count(String, IDictionary) Returns a count of the test cases that match the given query and context.
Public method Create() 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 method Create(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 method DoRequiredFieldsExist Returns 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 method Find(Int32) Retrieves a test case from the server by using the given test case identifier.
Public method Find(Int32, Int32) Retrieves a test case from the server by using the given test case identifier and revision.
Public method InPlans Returns a list of test cases that match the given query and that are either included in or excluded from a test plan.
Public method IsWorkItemCompatible Returns a value that indicates whether the provided work item is a test case.
Public method Query(String) Queries for test cases that match the provided query.
Public method Query(String, IDictionary) Queries for test cases that match the provided query and parameters.

Top

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace