ITestCaseHelper 接口

 

提供 ITestCase 对象的帮助器方法和属性。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

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

方法

名称 说明
System_CAPS_pubmethod Count(String)

返回与给定查询匹配的测试用例的计数。

System_CAPS_pubmethod Count(String, IDictionary)

返回与给定查询和上下文匹配的测试用例的计数。

System_CAPS_pubmethod Create()

创建一个新的测试用例对象,只有当调用测试用例的 Save 方法时,才会在服务器上创建该对象。

System_CAPS_pubmethod Create(WorkItemType)

创建一个新的测试用例对象,只有当调用测试用例的 Save 方法时,才会在服务器上创建该对象。

System_CAPS_pubmethod DoRequiredFieldsExist()

返回一个值,该值指示管理员是否自定义了此工作项类型来省略所有测试用例需要的部分或所有字段。

System_CAPS_pubmethod Find(Int32)

使用给定测试用例标识符从服务器中检索测试用例。

System_CAPS_pubmethod Find(Int32, Int32)

通过使用给定测试用例标识符和修订从服务器中检索测试用例。

System_CAPS_pubmethod InPlans(String, Boolean)

返回与给定查询匹配并且包含或排除测试计划中的测试用例的列表。

System_CAPS_pubmethod IsWorkItemCompatible(WorkItem)

返回一个值,该值指示提供的工作项是否为测试用例。

System_CAPS_pubmethod Query(String)

进行查询以查找与提供的查询匹配的测试用例。

System_CAPS_pubmethod Query(String, IDictionary)

进行查询以查找与提供的查询和参数匹配的测试用例。

请参阅

Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首