Export (0) Print
Expand All

ITestSuiteBase Interface

Represents the common properties and methods that are used by all suite types.

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

public interface ITestSuiteBase : ITestObject<int>, 
	IIdentifiable<int>, IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged

The ITestSuiteBase type exposes the following members.

Public propertyAllTestCasesGets the read-only collection of test cases for this suite and all hierarchical children.
Public propertyDefaultConfigurationsGets the read-only list of default configurations.
Public propertyDescriptionGets or sets the description of this test suite.
Public propertyErrorGets an error message indicating what is wrong with this object. (Inherited from IDataErrorInfo.)
Public propertyIdGets the identifier. (Inherited from IIdentifiable<TKey>.)
Public propertyInvalidPropertiesGets a list of property names that are invalid. (Inherited from IPropertyOwner.)
Public propertyIsDirtyGets a value that indicates whether any properties have changed since the last refresh, fetch, or save. (Inherited from IPropertyOwner.)
Public propertyIsRootGets a value that indicates whether this suite is the root suite in the test project.
Public propertyItemGets the error message for the property with the given name. (Inherited from IDataErrorInfo.)
Public propertyLastUpdatedGets the date and time that this test suite was last updated.
Public propertyLastUpdatedByGets the identity of the person who last updated this test suite.
Public propertyParentGets the parent test suite that contains this test suite.
Public propertyPlanGets the test plan that owns this test suite.
Public propertyProjectGets the test project. (Inherited from ITestObject<T>.)
Public propertyRevisionGets the current revision number for this object. (Inherited from ITestObject<T>.)
Public propertyStateGets or sets the state of this test suite.
Public propertyTestCasesGets a read-only collection of test cases.
Public propertyTestSuiteEntryGets an entry that was created for use in a static test suite.
Public propertyTestSuiteTypeGets the type of this test suite.
Public propertyTitleGets or sets the title of this test suite.
Public propertyUserDataGets or sets an arbitrary object or value that is not persisted, but allows test management objects to be dynamically extended. (Inherited from ITestObject<T>.)

Public methodAssignTestPointsChanges the AssignedTo property by using the provided collection of test point assignments.
Public methodClearDefaultConfigurationsRemoves the list of default configurations from this suite. This causes this suite to inherit default configurations from its parent.
Public methodCreateTestPointAssignmentCreates an ITestPointAssignment object to be passed into ITestSuiteBase.AssignTestPoints
Public methodRefresh()Updates any suites in the suite hierarchy that are out of date.
Public methodRefresh(Boolean)Updates any suites in the suite hierarchy, optionally forcing the update whether or not they are out of date.
Public methodSetDefaultConfigurationsSpecifies a set of configurations to use with newly added suite entries. When entries are added, test points are created for each of these configurations.
Public methodSetEntryConfigurationsCreates and deletes the requisite test points to make its set of configurations passed in for each entry.

Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Test suites that are built on queries can use IDynamicTestSuiteBase. Test suites that are built on an explicit list of test case IDs can use IStaticTestSuite. Test suites that are built on a specific requirement can use IRequirementTestSuite.

Community Additions

© 2014 Microsoft