Delen via


ITestPoint Interface

Represents the execution state of a test case in a suite against a configuration as part of a test plan.

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

Syntax

'Declaration
Public Interface ITestPoint _
    Inherits IIdentifiable(Of Integer), INotifyPropertyChanged, ITestPointProperties
public interface ITestPoint : IIdentifiable<int>, 
    INotifyPropertyChanged, ITestPointProperties
public interface class ITestPoint : IIdentifiable<int>, 
    INotifyPropertyChanged, ITestPointProperties
type ITestPoint =  
    interface 
        interface IIdentifiable<int>
        interface INotifyPropertyChanged 
        interface ITestPointProperties 
    end
public interface ITestPoint extends IIdentifiable<int>, INotifyPropertyChanged, ITestPointProperties

The ITestPoint type exposes the following members.

Properties

  Name Description
Public property AssignedTo Gets the identity of the user to which this test point is assigned.
Public property AssignedToName User this point is assigned to.
Public property AssignedToTeamFoundationId User this point is assigned to.
Public property Comment (Inherited from ITestPointProperties.)
Public property ConfigurationId Gets the identifier of the ITestConfiguration that this point tests.
Public property ConfigurationName Name of the ITestConfiguration that this point represents.
Public property HasCachedProperties Determines whether the Point object has any cached properties from the server.
Public property History Gets a collection of ITestPointProperties objects that represent a historical list of the properties of this test point over time.
Public property Id Gets the identifier. (Inherited from IIdentifiable<TKey>.)
Public property IsTestCaseAutomated Returns the same result as TestCaseWorkItem.IsAutomated, but may use cached properties to answer the question
Public property Item Access the properties of the test case of the point, possibly from the internal cached-properties table
Public property LastUpdated (Inherited from ITestPointProperties.)
Public property LastUpdatedBy (Inherited from ITestPointProperties.)
Public property LastUpdatedByName (Inherited from ITestPointProperties.)
Public property MostRecentFailureType Obsolete. (Inherited from ITestPointProperties.)
Public property MostRecentFailureTypeId (Inherited from ITestPointProperties.)
Public property MostRecentResolutionStateId (Inherited from ITestPointProperties.)
Public property MostRecentResult Gets the most recent test case result.
Public property MostRecentResultId (Inherited from ITestPointProperties.)
Public property MostRecentResultOutcome (Inherited from ITestPointProperties.)
Public property MostRecentResultState (Inherited from ITestPointProperties.)
Public property MostRecentRunId (Inherited from ITestPointProperties.)
Public property Plan Gets the associated test plan.
Public property Revision (Inherited from ITestPointProperties.)
Public property State (Inherited from ITestPointProperties.)
Public property SuiteId Gets the identifier for the test suite that contains this test point.
Public property TestCaseExists Gets a value that indicates whether the current test case exists on the server.
Public property TestCaseId Gets the ID of the associated test case.
Public property TestCaseWorkItem Gets the work item that is associated with the associated test case.
Public property UserData Gets or sets an arbitrary object that the user has associated with this test point.

Top

Methods

  Name Description
Public method Block Blocks this test point by setting the ITestPointProperties.State property to TestPointState.NotReady.
Public method QueryAssociatedWorkItemsFromResults Retrieves an array of integer IDs for the work items that are associated with the corresponding results of this test point.
Public method Refresh Updates this object by using data from the server.
Public method Save Persists this object on the server.
Public method Unblock Unblocks this test point by setting the ITestPointProperties.State property to TestPointState.Ready.

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

ITestConfiguration

IIdentifiable<TKey>

INotifyPropertyChanged

ITestPointProperties