共用方式為


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 (Inherited from ITestSuiteBase.)
Public property DefaultConfigurations (Inherited from ITestSuiteBase.)
Public property Description (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 (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 (Inherited from ITestSuiteBase.)
Public property LastUpdatedBy (Inherited from ITestSuiteBase.)
Public property LastUpdatedByName (Inherited from ITestSuiteBase.)
Public property Parent (Inherited from ITestSuiteBase.)
Public property Plan (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 (Inherited from ITestSuiteBase.)
Public property TestCaseCount Count of test case inside suite (Inherited from ITestSuiteBase.)
Public property TestCases (Inherited from ITestSuiteBase.)
Public property TestSuiteEntry (Inherited from ITestSuiteBase.)
Public property TestSuiteType (Inherited from ITestSuiteBase.)
Public property Title (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 (Inherited from ITestSuiteBase.)
Public method ClearDefaultConfigurations (Inherited from ITestSuiteBase.)
Public method CreateTestPointAssignment(Int32, IdAndName, TeamFoundationIdentity) (Inherited from ITestSuiteBase.)
Public method CreateTestPointAssignment(Int32, IdAndName, Guid) (Inherited from ITestSuiteBase.)
Public method Refresh() (Inherited from ITestSuiteBase.)
Public method Refresh(Boolean) (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 (Inherited from ITestSuiteBase.)
Public method SetEntryConfigurations (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