ITestSuiteBase 接口

 

测试套件的一般概念,该测试套件可以根据查询 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

属性

名称 说明
System_CAPS_pubproperty AllTestCases

Gets the read-only collection of test cases for this suite and all hierarchical children.

System_CAPS_pubproperty DefaultConfigurations

Gets the read-only list of default configurations.

System_CAPS_pubproperty Description

Gets or sets the description of this test suite.

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.

System_CAPS_pubproperty Item[String]

(从 IDataErrorInfo 继承。)

System_CAPS_pubproperty LastUpdated

Gets the date and time that this test suite was last updated.

System_CAPS_pubproperty LastUpdatedBy

Gets the identity of the person who last updated this test suite.

System_CAPS_pubproperty LastUpdatedByName

Last person to update suite

System_CAPS_pubproperty Parent

Gets the parent test suite that contains this test suite.

System_CAPS_pubproperty Plan

Gets the test plan that owns this test suite.

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.

System_CAPS_pubproperty TestCaseCount

计数在测试套件中的用例

System_CAPS_pubproperty TestCases

Gets a read-only collection of test cases.

System_CAPS_pubproperty TestSuiteEntry

Gets an entry that was created for use in a static test suite.

System_CAPS_pubproperty TestSuiteType

Gets the type of this test suite.

System_CAPS_pubproperty Title

Gets or sets the title of this test suite.

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.

System_CAPS_pubmethod ClearDefaultConfigurations()

Removes the list of default configurations from this suite. This causes this suite to inherit default configurations from its parent.

System_CAPS_pubmethod CreateTestPointAssignment(Int32, IdAndName, Guid)

Creates a TestPointAssignment object for later use in AssignTestPoints()

System_CAPS_pubmethod CreateTestPointAssignment(Int32, IdAndName, TeamFoundationIdentity)

Creates an ITestPointAssignment object to be passed into ITestSuiteBase.AssignTestPoints

System_CAPS_pubmethod Refresh()

Updates any suites in the suite hierarchy that are out of date.

System_CAPS_pubmethod Refresh(Boolean)

Updates any suites in the suite hierarchy, optionally forcing the update whether or not they are out of date.

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.

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.

事件

名称 说明
System_CAPS_pubevent PropertyChanged

(从 INotifyPropertyChanged 继承。)

备注

这里不会更新任何内容;请不要在这里添加材料。

请参阅

Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首