Share via


ITestController Interface

Registers a test controller with the Visual Studio Test Professional.

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

Syntax

'Declaration
Public Interface ITestController _
    Inherits IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
public interface ITestController : IPropertyOwner, 
    IDataErrorInfo, INotifyPropertyChanged
public interface class ITestController : IPropertyOwner, 
    IDataErrorInfo, INotifyPropertyChanged
type ITestController =  
    interface 
        interface IPropertyOwner 
        interface IDataErrorInfo 
        interface INotifyPropertyChanged 
    end
public interface ITestController extends IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged

The ITestController type exposes the following members.

Properties

  Name Description
Public property Description Gets or sets the description of this test controller.
Public property DisplayName Gets or sets name of the controller as it will appear in the user interface (UI).
Public property Error Gets an error message indicating what is wrong with this object. (Inherited from IDataErrorInfo.)
Public property GroupId Gets or sets the identifier for the group of test controllers that contains this test controller.
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 Item Gets the error message for the property with the given name. (Inherited from IDataErrorInfo.)
Public property Name Gets or sets the project-unique name of this test controller.
Public property Properties Gets the dictionary of name/value pairs that represent the properties of this test controller.
Public property State State of the test controller.
Public property TestEnvironments Gets a test environment helper that has properties and methods for test environments that belong to this test controller.

Top

Methods

  Name Description
Public method Register Registers this test controller with the team project collection.
Public method Unregister Removes the registration of this test controller from the team project collection.
Public method Update Updates the registration of this test controller in the team project collection.

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