Export (0) Print
Expand All

ITestPlan Interface

Represents a test plan.

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

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

The ITestPlan type exposes the following members.

  NameDescription
Public propertyAreaPathGets or sets the area path to which this test belongs.
Public propertyAutomatedTestEnvironmentIdGets or sets the GUID of the environment for automated testing.
Public propertyAutomatedTestSettingsIdGets or sets the ID for the settings to use for automated testing.
Public propertyBuildDirectoryGets the name of the folder for the build that is currently associated with this plan.
Public propertyBuildFilterGets the set of criteria that restricts the builds that can be associated with this test plan.
Public propertyBuildNumberGets the name of the build that is currently associated with this test plan.
Public propertyBuildTakenDateGets the date and time that the current build was associated with this test plan.
Public propertyBuildUriGets or sets the uniform resource identifier (URI) for the build that is currently associated with this test plan.
Public propertyDescriptionGets or sets the description of this test plan.
Public propertyEndDateGets or sets the end date for this test plan.
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 propertyItemGets the error message for the property with the given name. (Inherited from IDataErrorInfo.)
Public propertyIterationGets or sets the iteration to which this test plan belongs.
Public propertyLastUpdatedGets the date and time that this test plan was last updated.
Public propertyLastUpdatedByGets the identity of the last person to update this test plan.
Public propertyLinksGets a collection of external links that is associated with this test plan.
Public propertyManualTestEnvironmentIdGets or sets the GUID of the environment for manual testing.
Public propertyManualTestSettingsIdGets or sets the ID for the manual test settings.
Public propertyNameGets or sets the name of this test plan.
Public propertyNewBuildStatisticsGets a set of information about what has changed since the build that is currently associated with this plan was created.
Public propertyOwnerGets or sets the identity of the person who owns this test plan.
Public propertyPreviousBuildUriGets the URI of the previous build that was associated with this test plan.
Public propertyProjectGets the test project. (Inherited from ITestObject<T>.)
Public propertyRevisionGets the current revision number for this object. (Inherited from ITestObject<T>.)
Public propertyRootSuiteGets the root test suite for this test plan.
Public propertyStartDateGets or sets the start date for this test plan.
Public propertyStateGets or sets the current state of this test plan.
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>.)
Top

  NameDescription
Public methodCreateLinkCreates a new, empty ITestExternalLink.
Public methodCreateTestRunCreates and returns a new automated or manual test-run for this test plan.
Public methodDelete()Deletes this test plan and all test runs and test points that are associated with it.
Public methodDelete(DeleteAction)Deletes this test plan and all test runs and test points that are associated with it.
Public methodFindTestPoint(Int32)Finds and returns a test point that is specified by the test point ID.
Public methodFindTestPoint(Int32, String)Finds and returns a test point that is specified by the test point ID.
Public methodQueryImpactedPoints(Uri)Returns a collection of test points that is affected by all builds. This includes previous builds and the specified build.
Public methodQueryImpactedPoints(Uri, String)Returns a collection of test points that is affected by all builds. This includes previous builds and the specified build.
Public methodQueryTestPointHierarchyReturns the hierarchy of test suites that contains test points that match the WIQL query.
Public methodQueryTestPoints(String)Finds and returns all test points that belong to this test plan and that match the provided query.
Public methodQueryTestPoints(String, String)Finds and returns all test points that belong to this test plan and that match the provided point query and field value subquery.
Public methodQueryTestPointsAndStatistics
Public methodQueryTestPointStatisticsFinds and returns the test point statistics that belong to this test plan and that match the given query.
Public methodRefreshRefreshes all objects in this test plan by using current data from the server.
Public methodRefreshTestCaseRefreshes all instances of the specified test case in this test plan.
Public methodSaveSaves the data from all objects in this test plan to the server.
Top

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

This interface supports the object model for Test Case management (TCM) in Visual Studio. This interface is not intended for you to implement in a custom class, but you can use this interface in a custom class when a TCM object returns an internal implementation.

Community Additions

ADD
Show:
© 2015 Microsoft