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