表示通过查找与要求工作项关联的测试用例而动态填充的测试套件。
命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Public Interface IRequirementTestSuite _
    Inherits IDynamicTestSuiteBase, ITestSuiteBase, ITestObject(Of Integer),  _
    IIdentifiable(Of Integer), IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
public interface IRequirementTestSuite : IDynamicTestSuiteBase, 
    ITestSuiteBase, ITestObject<int>, IIdentifiable<int>, IPropertyOwner, IDataErrorInfo, 
    INotifyPropertyChanged
public interface class IRequirementTestSuite : IDynamicTestSuiteBase, 
    ITestSuiteBase, ITestObject<int>, IIdentifiable<int>, IPropertyOwner, IDataErrorInfo, 
    INotifyPropertyChanged
type IRequirementTestSuite =  
    interface
        interface IDynamicTestSuiteBase
        interface ITestSuiteBase
        interface ITestObject<int>
        interface IIdentifiable<int>
        interface IPropertyOwner
        interface IDataErrorInfo
        interface INotifyPropertyChanged
    end
public interface IRequirementTestSuite extends IDynamicTestSuiteBase, ITestSuiteBase, ITestObject<int>, IIdentifiable<int>, IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
IRequirementTestSuite 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | AllTestCases | 获取此套件及所有分层子级的只读测试用例集合。 (继承自 ITestSuiteBase。) | 
| .gif) | DefaultConfigurations | 获取默认配置的只读列表。 (继承自 ITestSuiteBase。) | 
| .gif) | Description | 获取或设置此测试套件的说明。 (继承自 ITestSuiteBase。) | 
| .gif) | Error | 获取指示对象何处出错的错误信息。 (继承自 IDataErrorInfo。) | 
| .gif) | Id | 获取标识符。 (继承自 IIdentifiable<TKey>。) | 
| .gif) | InvalidProperties | 获取无效的属性名称的列表。 (继承自 IPropertyOwner。) | 
| .gif) | IsDirty | 获取一个值,该值指示自上次刷新、获取或保存以来任何属性是否发生了更改。 (继承自 IPropertyOwner。) | 
| .gif) | IsRoot | 获取一个值,该值指示此套件是否为测试项目中的根套件。 (继承自 ITestSuiteBase。) | 
| .gif) | Item | 获取具有给定名称的属性的错误信息。 (继承自 IDataErrorInfo。) | 
| .gif) | LastError | 获取上次尝试动态重新填充此套件的项期间遇到的最后一条错误消息。 (继承自 IDynamicTestSuiteBase。) | 
| .gif) | LastPopulated | 获取上次尝试动态重新填充此套件条目的日期和时间。 (继承自 IDynamicTestSuiteBase。) | 
| .gif) | LastUpdated | 获取最后更新此测试套件时的日期和时间。 (继承自 ITestSuiteBase。) | 
| .gif) | LastUpdatedBy | 获取最后更新此测试套件的人员的标识。 (继承自 ITestSuiteBase。) | 
| .gif) | Parent | 获取包含此测试套件的父测试套件。 (继承自 ITestSuiteBase。) | 
| .gif) | Plan | 获取拥有此测试套件的测试计划。 (继承自 ITestSuiteBase。) | 
| .gif) | Project | 获取测试项目。 (继承自 ITestObject<T>。) | 
| .gif) | RequirementId | 获取填充此套件的需求工作项的 ID。 | 
| .gif) | Revision | 获取此对象的当前修订号。 (继承自 ITestObject<T>。) | 
| .gif) | State | 获取或设置此测试套件的状态。 (继承自 ITestSuiteBase。) | 
| .gif) | TestCases | 获取测试用例的只读集合。 (继承自 ITestSuiteBase。) | 
| .gif) | TestSuiteEntry | 获取要在静态测试套件中使用而创建的项。 (继承自 ITestSuiteBase。) | 
| .gif) | TestSuiteType | 获取此测试套件的类型。 (继承自 ITestSuiteBase。) | 
| .gif) | Title | 获取或设置此测试套件的标题。 (继承自 ITestSuiteBase。) | 
| .gif) | UserData | 获取或设置未保留的任意对象或值,但允许动态扩展测试管理对象。 (继承自 ITestObject<T>。) | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | AssignTestPoints | 使用提供的测试点指派集合更改 AssignedTo 属性。 (继承自 ITestSuiteBase。) | 
| .gif) | ClearDefaultConfigurations | 从此套件中移除默认配置的列表。这将导致此套件从其父级继承默认配置。 (继承自 ITestSuiteBase。) | 
| .gif) | CreateTestPointAssignment | 创建被传递到 ITestSuiteBase.AssignTestPoints 中的 ITestPointAssignment 对象。 (继承自 ITestSuiteBase。) | 
| .gif) | Refresh() | 更新套件层次结构中的任何过期套件。 (继承自 ITestSuiteBase。) | 
| .gif) | Refresh(Boolean) | 更新套件层次结构中的任何套件,并可选择强制更新(而不管是否已过期)。 (继承自 ITestSuiteBase。) | 
| .gif) | Repopulate | 添加现在符合服务器上的查询条件的套件条目,并删除不再符合服务器上的查询条件的套件条目。 (继承自 IDynamicTestSuiteBase。) | 
| .gif) | SetDefaultConfigurations | 指定添加一组配置,以使用新的套件条目。添加条目后,将为所有这些配置创建测试点。 (继承自 ITestSuiteBase。) | 
| .gif) | SetEntryConfigurations | 为每个输入进行一组配置而创建和删除必备的测试点。 (继承自 ITestSuiteBase。) | 
页首
事件
| 名称 | 说明 | |
|---|---|---|
| .gif) | PropertyChanged | 在更改属性值时发生。 (继承自 INotifyPropertyChanged。) | 
页首