IRequirementTestSuite 接口

表示通过查找与要求工作项关联的测试用例而动态填充的测试套件。

命名空间:  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 类型公开以下成员。

属性

  名称 说明
公共属性 AllTestCases (继承自 ITestSuiteBase。)
公共属性 DefaultConfigurations (继承自 ITestSuiteBase。)
公共属性 Description (继承自 ITestSuiteBase。)
公共属性 Error 获取指示对象何处出错的错误信息。 (继承自 IDataErrorInfo。)
公共属性 Id 获取标识符。 (继承自 IIdentifiable<TKey>。)
公共属性 InvalidProperties 获取无效的属性名称的列表。 (继承自 IPropertyOwner。)
公共属性 IsDirty 获取一个值,该值指示自上次刷新、获取或保存以来任何属性是否发生了更改。 (继承自 IPropertyOwner。)
公共属性 IsRoot (继承自 ITestSuiteBase。)
公共属性 Item 获取具有给定名称的属性的错误信息。 (继承自 IDataErrorInfo。)
公共属性 LastError 获取上次尝试动态重新填充此套件的项期间遇到的最后一条错误消息。 (继承自 IDynamicTestSuiteBase。)
公共属性 LastPopulated 获取上次尝试动态重新填充此套件条目的日期和时间。 (继承自 IDynamicTestSuiteBase。)
公共属性 LastUpdated (继承自 ITestSuiteBase。)
公共属性 LastUpdatedBy (继承自 ITestSuiteBase。)
公共属性 LastUpdatedByName (继承自 ITestSuiteBase。)
公共属性 Parent (继承自 ITestSuiteBase。)
公共属性 Plan (继承自 ITestSuiteBase。)
公共属性 Project 获取测试项目。 (继承自 ITestObject<T>。)
公共属性 RequirementId 获取填充此套件的需求工作项的 ID。
公共属性 Revision 获取此对象的当前修订号。 (继承自 ITestObject<T>。)
公共属性 State (继承自 ITestSuiteBase。)
公共属性 TestCaseCount 计数在测试套件中的用例 (继承自 ITestSuiteBase。)
公共属性 TestCases (继承自 ITestSuiteBase。)
公共属性 TestSuiteEntry (继承自 ITestSuiteBase。)
公共属性 TestSuiteType (继承自 ITestSuiteBase。)
公共属性 Title (继承自 ITestSuiteBase。)
公共属性 UserData 获取或设置未保留的任意对象或值,但允许动态扩展测试管理对象。 (继承自 ITestObject<T>。)

页首

方法

  名称 说明
公共方法 AssignTestPoints (继承自 ITestSuiteBase。)
公共方法 ClearDefaultConfigurations (继承自 ITestSuiteBase。)
公共方法 CreateTestPointAssignment(Int32, IdAndName, TeamFoundationIdentity) (继承自 ITestSuiteBase。)
公共方法 CreateTestPointAssignment(Int32, IdAndName, Guid) (继承自 ITestSuiteBase。)
公共方法 Refresh() (继承自 ITestSuiteBase。)
公共方法 Refresh(Boolean) (继承自 ITestSuiteBase。)
公共方法 Repopulate 添加现在符合服务器上的查询条件的套件条目,并删除不再符合服务器上的查询条件的套件条目。 (继承自 IDynamicTestSuiteBase。)
公共方法 SetDefaultConfigurations (继承自 ITestSuiteBase。)
公共方法 SetEntryConfigurations (继承自 ITestSuiteBase。)

页首

事件

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

页首

请参阅

参考

Microsoft.TeamFoundation.TestManagement.Client 命名空间

IDynamicTestSuiteBase

ITestSuiteBase

ITestObject<T>

IDataErrorInfo

INotifyCollectionChanged