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