命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
public interface ITestPlan : ITestObject<int>, IIdentifiable<int>,
IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
public interface class ITestPlan : ITestObject<int>, IIdentifiable<int>,
IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
type ITestPlan =
interface
interface ITestObject<int>
interface IIdentifiable<int>
interface IPropertyOwner
interface IDataErrorInfo
interface INotifyPropertyChanged
end
Public Interface ITestPlan
Inherits ITestObject(Of Integer), IIdentifiable(Of Integer), IPropertyOwner,
IDataErrorInfo, INotifyPropertyChanged
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
AreaPath | Gets or sets the area path of this test. |
![]() |
AutomatedTestEnvironmentId | Gets or sets the GUID of the environment for automated testing. |
![]() |
AutomatedTestSettingsId | Gets or sets the ID for the settings to use for automated testing. |
![]() |
BuildDirectory | Gets the name of the folder for the build that is currently associated with this plan. |
![]() |
BuildFilter | Gets the set of criteria that restricts the builds that can be associated with this test plan. |
![]() |
BuildNumber | Gets the name of the build that is currently associated with this test plan. |
![]() |
BuildTakenDate | Gets the date and time that the current build was associated with this test plan. |
![]() |
BuildUri | Gets or sets the uniform resource identifier (URI) for the build that is currently associated with this test plan. |
![]() |
Description | Gets or sets the description of this test plan. |
![]() |
EndDate | Gets or sets the end date for this test plan. |
![]() |
Error | (从 IDataErrorInfo 继承。) |
![]() |
Id | 获取标识符。(从 IIdentifiable<TKey> 继承。) |
![]() |
InvalidProperties | 获取无效的属性名称的列表。(从 IPropertyOwner 继承。) |
![]() |
IsDirty | 获取一个值,该值指示自上次刷新、获取或保存以来任何属性是否发生了更改。(从 IPropertyOwner 继承。) |
![]() |
Item[String] | (从 IDataErrorInfo 继承。) |
![]() |
Iteration | Gets or sets the iteration to which this test plan belongs. |
![]() |
LastUpdated | Gets the date and time that this test plan was last updated. |
![]() |
LastUpdatedBy | Gets the identity of the last person to update this test plan. |
![]() |
LastUpdatedByName | Last person to update plan |
![]() |
Links | Gets a collection of external links that is associated with this test plan. |
![]() |
ManualTestEnvironmentId | Gets or sets the GUID of the environment for manual testing. |
![]() |
ManualTestSettingsId | Gets or sets the ID for the manual test settings. |
![]() |
Name | Gets or sets the name of this test plan. |
![]() |
NewBuildStatistics | Gets a set of information about what has changed since the build that is currently associated with this plan was created. |
![]() |
Owner | Gets or sets the identity of the person who owns this test plan. |
![]() |
OwnerName | User who owns the plan. |
![]() |
OwnerTeamFoundationId | TeamFoundationId of the user who owns the plan. |
![]() |
PreviousBuildUri | Gets the URI of the previous build that was associated with this test plan. |
![]() |
Project | 此 API 支持 产品 基础结构,不能在代码中直接使用。 获取测试项目。(从 ITestObject<T> 继承。) |
![]() |
Revision | 此 API 支持 产品 基础结构,不能在代码中直接使用。 获取此对象的当前修订号。(从 ITestObject<T> 继承。) |
![]() |
RootSuite | Gets the root test suite for this test plan. |
![]() |
StartDate | Gets or sets the start date for this test plan. |
![]() |
State | 已过时。 Gets or sets the current state of this test plan. |
![]() |
UserData | 此 API 支持 产品 基础结构,不能在代码中直接使用。 获取或设置未保留的任意对象或值,但允许动态扩展测试管理对象。(从 ITestObject<T> 继承。) |
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Clone() | Creates a copy of this test plan and returns it. |
![]() |
CopyPropertiesFrom(ITestPlan) | |
![]() |
CreateLink() | Creates a new, empty ITestExternalLink. |
![]() |
CreateTestRun(Boolean) | Creates and returns a new automated or manual test-run for this test plan. |
![]() |
Delete() | Deletes this test plan and all test runs and test points that are associated with it. |
![]() |
Delete(DeleteAction) | Deletes this test plan and all test runs and test points that are associated with it. |
![]() |
FindTestPoint(Int32) | Finds and returns a test point that is specified by the test point ID. |
![]() |
FindTestPoint(Int32, String) | Finds and returns a test point that is specified by the test point ID. |
![]() |
QueryImpactedPoints(Uri) | Returns a collection of test points that is affected by all builds. This includes previous builds and the specified build. |
![]() |
QueryImpactedPoints(Uri, String) | Returns a collection of test points that is affected by all builds. This includes previous builds and the specified build. |
![]() |
QueryTestPointHierarchy(String) | Returns the hierarchy of test suites that contains test points that match the WIQL query. |
![]() |
QueryTestPoints(String) | Finds and returns all test points that belong to this test plan and that match the provided query. |
![]() |
QueryTestPoints(String, String) | Finds and returns all test points that belong to this test plan and that match the provided point query and field value subquery. |
![]() |
QueryTestPoints(String, String, String[], Boolean) | Finds all points that belong to this plan and match the given WIQL conditions. |
![]() |
QueryTestPointsAndStatistics(String, String, ITestPointStatistics) | Finds all points that belong to this plan and match the given WIQL conditions. |
![]() |
QueryTestPointsAndStatistics(String, String, String[], ITestPointStatistics) | Finds all points that belong to this plan and match the given WIQL conditions. |
![]() |
QueryTestPointStatistics(String) | Finds and returns the test point statistics that belong to this test plan and that match the given query. |
![]() |
QueryTestPointStatisticsByPivot(String, List<TestPointStatisticsQueryPivotType>) | Returns statistics of points by pivot that belong to this plan and match the given WIQL conditions. |
![]() |
Refresh() | Refreshes all objects in this test plan by using current data from the server. |
![]() |
RefreshRootSuite() | |
![]() |
RefreshTestCase(Int32) | Refreshes all instances of the specified test case in this test plan. |
![]() |
Save() | Saves the data from all objects in this test plan to the server. |
![]() |
SetBuildInfo(String, String) |
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
PropertyChanged | (从 INotifyPropertyChanged 继承。) |
备注
这里不会更新任何内容;请不要在这里添加材料。
请参阅
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首
.jpeg)
.gif)
.gif)