ITestCaseResultHelper 接口

 

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

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

语法

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

方法

名称 说明
System_CAPS_pubmethod ByTestId(Int32)

查询服务器,并返回测试用例的测试结果对象集合。

System_CAPS_pubmethod CreateForUpdate(Int32, Int32)

创建一个空测试用例结果对象,用于有效地将更改的属性保存到服务器。

System_CAPS_pubmethod Find(Int32, Int32)

使用给定的测试运行 ID 和测试结果 ID 检索单一测试用例结果。

System_CAPS_pubmethod FindByLink(Uri, ITestAttachment)

使用位于 Visual Studio Team Foundation Server 中的项目测试结果或测试结果附件的统一资源标识符 URI 查找并返回测试结果,并可选择返回测试结果附件。

System_CAPS_pubmethod Query(String)

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

System_CAPS_pubmethod Reset(ITestCaseResult[])

清除任何测试用例结果信息并使测试重新运行。

System_CAPS_pubmethod Save(ITestCaseResult[], Boolean)

使用给定的测试用例结果数组以及指示是否在后台执行附件上载来更新服务器。

请参阅

ITestCaseResult
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首