ITestPoint 接口

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

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

语法

声明
Public Interface ITestPoint _
    Inherits IIdentifiable(Of Integer), INotifyPropertyChanged, ITestPointProperties
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 extends IIdentifiable<int>, INotifyPropertyChanged, ITestPointProperties

ITestPoint 类型公开以下成员。

属性

  名称 说明
公共属性 AssignedTo 获取为其分配了此测试点的用户的标识。
公共属性 AssignedToName 这一点的用户分配。
公共属性 AssignedToTeamFoundationId 这一点的用户分配。
公共属性 Comment (继承自 ITestPointProperties。)
公共属性 ConfigurationId 获取此点所测试的 ITestConfiguration 的标识符。
公共属性 ConfigurationName 这一点 ITestConfiguration 的名称来表示。
公共属性 HasCachedProperties 确定一个点对象是否具有来自服务器的任何缓存的属性。
公共属性 History 获取 ITestPointProperties 对象的集合,这些对象表示一段时间内此测试点的属性的历史列表。
公共属性 Id 获取标识符。 (继承自 IIdentifiable<TKey>。)
公共属性 IsTestCaseAutomated 返回结果和 TestCaseWorkItem.IsAutomated 相同,但是,可以使用缓存的属性设置为接听该问题
公共属性 Item 访问点的测试用例的属性,从内部缓存属性可以表
公共属性 LastUpdated (继承自 ITestPointProperties。)
公共属性 LastUpdatedBy (继承自 ITestPointProperties。)
公共属性 LastUpdatedByName (继承自 ITestPointProperties。)
公共属性 MostRecentFailureType 已废弃不用。 (继承自 ITestPointProperties。)
公共属性 MostRecentFailureTypeId (继承自 ITestPointProperties。)
公共属性 MostRecentResolutionStateId (继承自 ITestPointProperties。)
公共属性 MostRecentResult 获取最近的测试用例结果。
公共属性 MostRecentResultId (继承自 ITestPointProperties。)
公共属性 MostRecentResultOutcome (继承自 ITestPointProperties。)
公共属性 MostRecentResultState (继承自 ITestPointProperties。)
公共属性 MostRecentRunId (继承自 ITestPointProperties。)
公共属性 Plan 获取关联的测试计划。
公共属性 Revision (继承自 ITestPointProperties。)
公共属性 State (继承自 ITestPointProperties。)
公共属性 SuiteId 获取包含此测试点的测试套件的标识符。
公共属性 TestCaseExists 获取一个值,该值指示当前测试用例是否在服务器上存在。
公共属性 TestCaseId 获取关联测试用例的 ID。
公共属性 TestCaseWorkItem 获取与关联的测试用例关联的工作项。
公共属性 UserData 获取或设置用户已与此测试点关联的任意对象。

页首

方法

  名称 说明
公共方法 Block 通过将 ITestPointProperties.State 属性设置为 TestPointState.NotReady 来阻止此测试点。
公共方法 QueryAssociatedWorkItemsFromResults 检索与此测试点的对应结果关联的工作项的整数 ID 数组。
公共方法 Refresh 用服务器中的数据更新此对象。
公共方法 Save 将此对象保留在服务器上。
公共方法 Unblock 通过将 ITestPointProperties.State 属性设置为 TestPointState.Ready 来取消阻止此测试点。

页首

事件

  名称 说明
公共事件 PropertyChanged 在属性值更改时发生。 (继承自 INotifyPropertyChanged。)

页首

请参阅

参考

Microsoft.TeamFoundation.TestManagement.Client 命名空间

ITestConfiguration

IIdentifiable<TKey>

INotifyPropertyChanged

ITestPointProperties