ITestPoint 接口

 

表示作为测试计划一部分的配置的测试套件中某个测试用例的执行状态。

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

语法

public interface ITestPoint : IIdentifiable<int>, INotifyPropertyChanged, 
    ITestPointProperties
public interface class ITestPoint : IIdentifiable<int>, INotifyPropertyChanged, 
    ITestPointProperties
type ITestPoint = 
    interface
        interface IIdentifiable<int>
        interface INotifyPropertyChanged
        interface ITestPointProperties
    end
Public Interface ITestPoint
    Inherits IIdentifiable(Of Integer), INotifyPropertyChanged, ITestPointProperties

属性

名称 说明
System_CAPS_pubproperty AssignedTo

获取为其分配了此测试点的用户的标识。

System_CAPS_pubproperty AssignedToName

这一点的用户分配。

System_CAPS_pubproperty AssignedToTeamFoundationId

这一点的用户分配。

System_CAPS_pubproperty Comment

Gets or sets a comment for the associated test point.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty ConfigurationId

获取此点所测试的 ITestConfiguration 的标识符。

System_CAPS_pubproperty ConfigurationName

这一点 ITestConfiguration 的名称来表示。

System_CAPS_pubproperty HasCachedProperties

确定一个点对象是否具有来自服务器的任何缓存的属性。

System_CAPS_pubproperty History

获取 ITestPointProperties 对象的集合,这些对象表示一段时间内此测试点的属性的历史列表。

System_CAPS_pubproperty Id

获取标识符。(从 IIdentifiable<TKey> 继承。)

System_CAPS_pubproperty IsTestCaseAutomated

返回结果和 TestCaseWorkItem.IsAutomated 相同,但是,可以使用缓存的属性设置为接听该问题

System_CAPS_pubproperty Item[String]

访问点的测试用例的属性,从内部缓存属性可以表

System_CAPS_pubproperty LastUpdated

Gets the date that this object was last updated.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty LastUpdatedBy

Gets the identity of the last person to update this object.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty LastUpdatedByName

Last person to update point.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty MostRecentFailureType

已过时。 Gets the most recent FailureType for the associated test point.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty MostRecentFailureTypeId

(从 ITestPointProperties 继承。)

System_CAPS_pubproperty MostRecentResolutionStateId

Gets the ID for the most recent resolution state setting.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty MostRecentResult

获取最近的测试用例结果。

System_CAPS_pubproperty MostRecentResultId

Gets the ID of the most recent result setting.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty MostRecentResultOutcome

Gets the most recent result outcome setting.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty MostRecentResultState

Gets the most recent result state setting.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty MostRecentRunId

Gets the most recent test run ID.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty Plan

获取关联的测试计划。

System_CAPS_pubproperty Revision

Gets the internal revision number of the associated test point.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty State

Gets the current state of the associated test point.(从 ITestPointProperties 继承。)

System_CAPS_pubproperty SuiteId

获取包含此测试点的测试套件的标识符。

System_CAPS_pubproperty TestCaseExists

获取一个值,该值指示当前测试用例是否在服务器上存在。

System_CAPS_pubproperty TestCaseId

获取关联测试用例的 ID。

System_CAPS_pubproperty TestCaseWorkItem

获取与关联的测试用例关联的工作项。

System_CAPS_pubproperty UserData

获取或设置用户已与此测试点关联的任意对象。

方法

名称 说明
System_CAPS_pubmethod Block()

通过将 ITestPointProperties.State 属性设置为 TestPointState.NotReady 来阻止此测试点。

System_CAPS_pubmethod QueryAssociatedWorkItemsFromResults()

检索与此测试点的对应结果关联的工作项的整数 ID 数组。

System_CAPS_pubmethod Refresh()

用服务器中的数据更新此对象。

System_CAPS_pubmethod Save()

将此对象保留在服务器上。

System_CAPS_pubmethod Unblock()

通过将 ITestPointProperties.State 属性设置为 TestPointState.Ready 来取消阻止此测试点。

事件

名称 说明
System_CAPS_pubevent PropertyChanged

(从 INotifyPropertyChanged 继承。)

请参阅

ITestConfiguration
IIdentifiable<TKey>
INotifyPropertyChanged
ITestPointProperties
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首