Share via


IRequirementTestSuite Interface

Represents a test suite that is populated dynamically by finding test cases that are associated with a requirement work item.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
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

The IRequirementTestSuite type exposes the following members.

Properties

  Name Description
Public property AllTestCases Gets the read-only collection of test cases for this suite and all hierarchical children. (Inherited from ITestSuiteBase.)
Public property DefaultConfigurations Gets the read-only list of default configurations. (Inherited from ITestSuiteBase.)
Public property Description Gets or sets the description of this test suite. (Inherited from ITestSuiteBase.)
Public property Error Gets an error message indicating what is wrong with this object. (Inherited from IDataErrorInfo.)
Public property Id Gets the identifier. (Inherited from IIdentifiable<TKey>.)
Public property InvalidProperties Gets a list of property names that are invalid. (Inherited from IPropertyOwner.)
Public property IsDirty Gets a value that indicates whether any properties have changed since the last refresh, fetch, or save. (Inherited from IPropertyOwner.)
Public property IsRoot Gets a value that indicates whether this suite is the root suite in the test project. (Inherited from ITestSuiteBase.)
Public property Item Gets the error message for the property with the given name. (Inherited from IDataErrorInfo.)
Public property LastError Gets the last error message that was encountered during the last attempt to dynamically repopulate the entries of this suite. (Inherited from IDynamicTestSuiteBase.)
Public property LastPopulated Gets the date and time for the last attempt to dynamically repopulate the entries in this suite. (Inherited from IDynamicTestSuiteBase.)
Public property LastUpdated Gets the date and time that this test suite was last updated. (Inherited from ITestSuiteBase.)
Public property LastUpdatedBy Gets the identity of the person who last updated this test suite. (Inherited from ITestSuiteBase.)
Public property LastUpdatedByName Last person to update suite (Inherited from ITestSuiteBase.)
Public property Parent Gets the parent test suite that contains this test suite. (Inherited from ITestSuiteBase.)
Public property Plan Gets the test plan that owns this test suite. (Inherited from ITestSuiteBase.)
Public property Project Gets the test project. (Inherited from ITestObject<T>.)
Public property RequirementId Gets the ID of the requirement work item from which this suite is populated.
Public property Revision Gets the current revision number for this object. (Inherited from ITestObject<T>.)
Public property State Gets or sets the state of this test suite. (Inherited from ITestSuiteBase.)
Public property TestCaseCount (Inherited from ITestSuiteBase.)
Public property TestCases Gets a read-only collection of test cases. (Inherited from ITestSuiteBase.)
Public property TestSuiteEntry Gets an entry that was created for use in a static test suite. (Inherited from ITestSuiteBase.)
Public property TestSuiteType Gets the type of this test suite. (Inherited from ITestSuiteBase.)
Public property Title Gets or sets the title of this test suite. (Inherited from ITestSuiteBase.)
Public property UserData Gets or sets an arbitrary object or value that is not persisted, but allows test management objects to be dynamically extended. (Inherited from ITestObject<T>.)

Top

Methods

  Name Description
Public method AssignTestPoints Changes the AssignedTo property by using the provided collection of test point assignments. (Inherited from ITestSuiteBase.)
Public method ClearDefaultConfigurations Removes the list of default configurations from this suite. This causes this suite to inherit default configurations from its parent. (Inherited from ITestSuiteBase.)
Public method CreateTestPointAssignment(Int32, IdAndName, TeamFoundationIdentity) Creates an ITestPointAssignment object to be passed into ITestSuiteBase.AssignTestPoints (Inherited from ITestSuiteBase.)
Public method CreateTestPointAssignment(Int32, IdAndName, Guid) Creates a TestPointAssignment object for later use in AssignTestPoints() (Inherited from ITestSuiteBase.)
Public method Refresh() Updates any suites in the suite hierarchy that are out of date. (Inherited from ITestSuiteBase.)
Public method Refresh(Boolean) Updates any suites in the suite hierarchy, optionally forcing the update whether or not they are out of date. (Inherited from ITestSuiteBase.)
Public method Repopulate Adds suite entries that now match the query conditions on the server, and removes suite entries that no longer match query conditions on the server. (Inherited from IDynamicTestSuiteBase.)
Public method SetDefaultConfigurations 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. (Inherited from ITestSuiteBase.)
Public method SetEntryConfigurations Creates and deletes the necessary test points to make its set of configurations passed in for each entry. (Inherited from ITestSuiteBase.)

Top

Events

  Name Description
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

IDynamicTestSuiteBase

ITestSuiteBase

ITestObject<T>

IDataErrorInfo

INotifyCollectionChanged