发布时间: 2016年4月
将新的测试点添加到测试运行。
必须后跟 save ()。
在保存后将无法使用直到返回的此调用将测试结果对象。
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
ITestCaseResultCollection AddTestPoints(
IEnumerable<ITestPoint> points,
TeamFoundationIdentity owner
)
ITestCaseResultCollection^ AddTestPoints(
IEnumerable<ITestPoint^>^ points,
TeamFoundationIdentity^ owner
)
abstract AddTestPoints :
points:IEnumerable<ITestPoint> *
owner:TeamFoundationIdentity -> ITestCaseResultCollection
Function AddTestPoints (
points As IEnumerable(Of ITestPoint),
owner As TeamFoundationIdentity
) As ITestCaseResultCollection
参数
points
Type: System.Collections.Generic.IEnumerable<ITestPoint>若要添加的点进行测试。
owner
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentity若要分配到的测试或 null 可从测试点继承所有者"分配给"的所有者。
返回值
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection
请参阅
ITestRun 接口
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首