ITestAdapter Interface

Interface to be implemented by all test adapters.

Namespace:  Microsoft.VisualStudio.TestTools.TestAdapter
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
Public Interface ITestAdapter _
    Inherits IBaseAdapter
public interface ITestAdapter : IBaseAdapter
public interface class ITestAdapter : IBaseAdapter
type ITestAdapter =  
    interface
        interface IBaseAdapter
    end
public interface ITestAdapter extends IBaseAdapter

The ITestAdapter type exposes the following members.

Methods

  Name Description
Public method AbortTestRun Called when an internal error occurs during a test run. This method should behave similarly to the StopTestRun method. (Inherited from IBaseAdapter.)
Public method Cleanup Called when a test run is completed. (Inherited from IBaseAdapter.)
Public method Initialize Called when test adapter is loaded to execute a test run.
Public method PauseTestRun Called when the user requests to pause a test run. (Inherited from IBaseAdapter.)
Public method PreTestRunFinished Called when a test run is completed to allow test adapters to clean up.
Public method ReceiveMessage Receives a downstream message from the user interface, a controller, or an agent.
Public method ResumeTestRun Called when the user requests to resume a test run. (Inherited from IBaseAdapter.)
Public method Run Called to execute a test case. (Inherited from IBaseAdapter.)
Public method StopTestRun Called when the user requests to stop a test run. (Inherited from IBaseAdapter.)

Top

See Also

Reference

Microsoft.VisualStudio.TestTools.TestAdapter Namespace