IStaticTestSuite 接口

 

表示包含用户指定的测试用例列表的测试套件。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

public interface IStaticTestSuite : ITestSuiteBase, ITestObject<int>, 
    IIdentifiable<int>, IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
public interface class IStaticTestSuite : ITestSuiteBase, ITestObject<int>, 
    IIdentifiable<int>, IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
type IStaticTestSuite = 
    interface
        interface ITestSuiteBase
        interface ITestObject<int>
        interface IIdentifiable<int>
        interface IPropertyOwner
        interface IDataErrorInfo
        interface INotifyPropertyChanged
    end
Public Interface IStaticTestSuite
    Inherits ITestSuiteBase, ITestObject(Of Integer), IIdentifiable(Of Integer),
    IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged

属性

名称 说明
System_CAPS_pubproperty AllTestCases

Gets the read-only collection of test cases for this suite and all hierarchical children.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty DefaultConfigurations

Gets the read-only list of default configurations.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty Description

Gets or sets the description of this test suite.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty Entries

获取此套件中所有测试项的集合。

System_CAPS_pubproperty EntriesException

如果有则获取在测试项被获得时抛出的异常。

System_CAPS_pubproperty Error

(从 IDataErrorInfo 继承。)

System_CAPS_pubproperty Id

获取标识符。(从 IIdentifiable<TKey> 继承。)

System_CAPS_pubproperty InvalidProperties

获取无效的属性名称的列表。(从 IPropertyOwner 继承。)

System_CAPS_pubproperty IsDirty

获取一个值,该值指示自上次刷新、获取或保存以来任何属性是否发生了更改。(从 IPropertyOwner 继承。)

System_CAPS_pubproperty IsRoot

Gets a value that indicates whether this suite is the root suite in the test project.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty Item[String]

(从 IDataErrorInfo 继承。)

System_CAPS_pubproperty LastUpdated

Gets the date and time that this test suite was last updated.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty LastUpdatedBy

Gets the identity of the person who last updated this test suite.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty LastUpdatedByName

Last person to update suite(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty Parent

Gets the parent test suite that contains this test suite.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty Plan

Gets the test plan that owns this test suite.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty Project

此 API 支持 产品 基础结构,不能在代码中直接使用。 获取测试项目。(从 ITestObject<T> 继承。)

System_CAPS_pubproperty Revision

此 API 支持 产品 基础结构,不能在代码中直接使用。 获取此对象的当前修订号。(从 ITestObject<T> 继承。)

System_CAPS_pubproperty State

已过时。 Gets or sets the state of this test suite.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty SubSuites

获取此测试套件层次结构中包含的测试套件的集合。

System_CAPS_pubproperty TestCaseCount

计数在测试套件中的用例(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty TestCases

Gets a read-only collection of test cases.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty TestSuiteEntry

Gets an entry that was created for use in a static test suite.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty TestSuiteType

Gets the type of this test suite.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty Title

Gets or sets the title of this test suite.(从 ITestSuiteBase 继承。)

System_CAPS_pubproperty UserData

此 API 支持 产品 基础结构,不能在代码中直接使用。 获取或设置未保留的任意对象或值,但允许动态扩展测试管理对象。(从 ITestObject<T> 继承。)

方法

名称 说明
System_CAPS_pubmethod AssignTestPoints(IEnumerable<ITestPointAssignment>)

Changes the AssignedTo property by using the provided collection of test point assignments.(从 ITestSuiteBase 继承。)

System_CAPS_pubmethod ClearDefaultConfigurations()

Removes the list of default configurations from this suite. This causes this suite to inherit default configurations from its parent.(从 ITestSuiteBase 继承。)

System_CAPS_pubmethod CreateTestPointAssignment(Int32, IdAndName, Guid)

Creates a TestPointAssignment object for later use in AssignTestPoints()(从 ITestSuiteBase 继承。)

System_CAPS_pubmethod CreateTestPointAssignment(Int32, IdAndName, TeamFoundationIdentity)

Creates an ITestPointAssignment object to be passed into ITestSuiteBase.AssignTestPoints(从 ITestSuiteBase 继承。)

System_CAPS_pubmethod Refresh()

Updates any suites in the suite hierarchy that are out of date.(从 ITestSuiteBase 继承。)

System_CAPS_pubmethod Refresh(Boolean)

Updates any suites in the suite hierarchy, optionally forcing the update whether or not they are out of date.(从 ITestSuiteBase 继承。)

System_CAPS_pubmethod 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.(从 ITestSuiteBase 继承。)

System_CAPS_pubmethod SetEntryConfigurations(IEnumerable<ITestSuiteEntry>, IEnumerable<IdAndName>)

Creates and deletes the necessary test points to make its set of configurations passed in for each entry.(从 ITestSuiteBase 继承。)

事件

名称 说明
System_CAPS_pubevent PropertyChanged

(从 INotifyPropertyChanged 继承。)

请参阅

ITestPlan
ITestSuiteBase
ITestObject<T>
IIdentifiable<TKey>
IPropertyOwner
INotifyPropertyChanged
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首