测试套件的一般概念,该测试套件可以根据查询 IDynamicTestSuite 或在显式列表测试用例或其他 TestSuites IStaticTestSuiteID
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
public interface ITestSuiteBase : ITestObject<int>, IIdentifiable<int>,
IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
public interface class ITestSuiteBase : ITestObject<int>, IIdentifiable<int>,
IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
type ITestSuiteBase =
interface
interface ITestObject<int>
interface IIdentifiable<int>
interface IPropertyOwner
interface IDataErrorInfo
interface INotifyPropertyChanged
end
Public Interface ITestSuiteBase
Inherits ITestObject(Of Integer), IIdentifiable(Of Integer), IPropertyOwner,
IDataErrorInfo, INotifyPropertyChanged
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
AllTestCases | Gets the read-only collection of test cases for this suite and all hierarchical children. |
![]() |
DefaultConfigurations | Gets the read-only list of default configurations. |
![]() |
Description | Gets or sets the description of this test suite. |
![]() |
Error | (从 IDataErrorInfo 继承。) |
![]() |
Id | 获取标识符。(从 IIdentifiable<TKey> 继承。) |
![]() |
InvalidProperties | 获取无效的属性名称的列表。(从 IPropertyOwner 继承。) |
![]() |
IsDirty | 获取一个值,该值指示自上次刷新、获取或保存以来任何属性是否发生了更改。(从 IPropertyOwner 继承。) |
![]() |
IsRoot | Gets a value that indicates whether this suite is the root suite in the test project. |
![]() |
Item[String] | (从 IDataErrorInfo 继承。) |
![]() |
LastUpdated | Gets the date and time that this test suite was last updated. |
![]() |
LastUpdatedBy | Gets the identity of the person who last updated this test suite. |
![]() |
LastUpdatedByName | Last person to update suite |
![]() |
Parent | Gets the parent test suite that contains this test suite. |
![]() |
Plan | Gets the test plan that owns this test suite. |
![]() |
Project | 此 API 支持 产品 基础结构,不能在代码中直接使用。 获取测试项目。(从 ITestObject<T> 继承。) |
![]() |
Revision | 此 API 支持 产品 基础结构,不能在代码中直接使用。 获取此对象的当前修订号。(从 ITestObject<T> 继承。) |
![]() |
State | 已过时。 Gets or sets the state of this test suite. |
![]() |
TestCaseCount | 计数在测试套件中的用例 |
![]() |
TestCases | Gets a read-only collection of test cases. |
![]() |
TestSuiteEntry | Gets an entry that was created for use in a static test suite. |
![]() |
TestSuiteType | Gets the type of this test suite. |
![]() |
Title | Gets or sets the title of this test suite. |
![]() |
UserData | 此 API 支持 产品 基础结构,不能在代码中直接使用。 获取或设置未保留的任意对象或值,但允许动态扩展测试管理对象。(从 ITestObject<T> 继承。) |
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
AssignTestPoints(IEnumerable<ITestPointAssignment>) | Changes the AssignedTo property by using the provided collection of test point assignments. |
![]() |
ClearDefaultConfigurations() | Removes the list of default configurations from this suite. This causes this suite to inherit default configurations from its parent. |
![]() |
CreateTestPointAssignment(Int32, IdAndName, Guid) | Creates a TestPointAssignment object for later use in AssignTestPoints() |
![]() |
CreateTestPointAssignment(Int32, IdAndName, TeamFoundationIdentity) | Creates an ITestPointAssignment object to be passed into ITestSuiteBase.AssignTestPoints |
![]() |
Refresh() | Updates any suites in the suite hierarchy that are out of date. |
![]() |
Refresh(Boolean) | Updates any suites in the suite hierarchy, optionally forcing the update whether or not they are out of date. |
![]() |
SetDefaultConfigurations(IEnumerable<IdAndName>) | Specifies a set of configurations to use with newly added suite entries. When entries are added, test points are created for each of these configurations. |
![]() |
SetEntryConfigurations(IEnumerable<ITestSuiteEntry>, IEnumerable<IdAndName>) | Creates and deletes the necessary test points to make its set of configurations passed in for each entry. |
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
PropertyChanged | (从 INotifyPropertyChanged 继承。) |
备注
这里不会更新任何内容;请不要在这里添加材料。
请参阅
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首
.jpeg)
.gif)
.gif)