表示作为测试计划一部分的配置的测试套件中某个测试用例的执行状态。
命名空间: 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
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
AssignedTo | 获取为其分配了此测试点的用户的标识。 |
![]() |
AssignedToName | 这一点的用户分配。 |
![]() |
AssignedToTeamFoundationId | 这一点的用户分配。 |
![]() |
Comment | Gets or sets a comment for the associated test point.(从 ITestPointProperties 继承。) |
![]() |
ConfigurationId | 获取此点所测试的 ITestConfiguration 的标识符。 |
![]() |
ConfigurationName | 这一点 ITestConfiguration 的名称来表示。 |
![]() |
HasCachedProperties | 确定一个点对象是否具有来自服务器的任何缓存的属性。 |
![]() |
History | 获取 ITestPointProperties 对象的集合,这些对象表示一段时间内此测试点的属性的历史列表。 |
![]() |
Id | 获取标识符。(从 IIdentifiable<TKey> 继承。) |
![]() |
IsTestCaseAutomated | 返回结果和 TestCaseWorkItem.IsAutomated 相同,但是,可以使用缓存的属性设置为接听该问题 |
![]() |
Item[String] | 访问点的测试用例的属性,从内部缓存属性可以表 |
![]() |
LastUpdated | Gets the date that this object was last updated.(从 ITestPointProperties 继承。) |
![]() |
LastUpdatedBy | Gets the identity of the last person to update this object.(从 ITestPointProperties 继承。) |
![]() |
LastUpdatedByName | Last person to update point.(从 ITestPointProperties 继承。) |
![]() |
MostRecentFailureType | 已过时。 Gets the most recent FailureType for the associated test point.(从 ITestPointProperties 继承。) |
![]() |
MostRecentFailureTypeId | (从 ITestPointProperties 继承。) |
![]() |
MostRecentResolutionStateId | Gets the ID for the most recent resolution state setting.(从 ITestPointProperties 继承。) |
![]() |
MostRecentResult | 获取最近的测试用例结果。 |
![]() |
MostRecentResultId | Gets the ID of the most recent result setting.(从 ITestPointProperties 继承。) |
![]() |
MostRecentResultOutcome | Gets the most recent result outcome setting.(从 ITestPointProperties 继承。) |
![]() |
MostRecentResultState | Gets the most recent result state setting.(从 ITestPointProperties 继承。) |
![]() |
MostRecentRunId | Gets the most recent test run ID.(从 ITestPointProperties 继承。) |
![]() |
Plan | 获取关联的测试计划。 |
![]() |
Revision | Gets the internal revision number of the associated test point.(从 ITestPointProperties 继承。) |
![]() |
State | Gets the current state of the associated test point.(从 ITestPointProperties 继承。) |
![]() |
SuiteId | 获取包含此测试点的测试套件的标识符。 |
![]() |
TestCaseExists | 获取一个值,该值指示当前测试用例是否在服务器上存在。 |
![]() |
TestCaseId | 获取关联测试用例的 ID。 |
![]() |
TestCaseWorkItem | 获取与关联的测试用例关联的工作项。 |
![]() |
UserData | 获取或设置用户已与此测试点关联的任意对象。 |
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Block() | 通过将 ITestPointProperties.State 属性设置为 TestPointState.NotReady 来阻止此测试点。 |
![]() |
QueryAssociatedWorkItemsFromResults() | 检索与此测试点的对应结果关联的工作项的整数 ID 数组。 |
![]() |
Refresh() | 用服务器中的数据更新此对象。 |
![]() |
Save() | 将此对象保留在服务器上。 |
![]() |
Unblock() | 通过将 ITestPointProperties.State 属性设置为 TestPointState.Ready 来取消阻止此测试点。 |
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
PropertyChanged | (从 INotifyPropertyChanged 继承。) |
请参阅
ITestConfiguration
IIdentifiable<TKey>
INotifyPropertyChanged
ITestPointProperties
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首
.jpeg)
.gif)
.gif)