Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

public interface ITestAdapter : IBaseAdapter

The ITestAdapter type exposes the following members.

  NameDescription
Public methodAbortTestRunCalled when an internal error occurs during a test run. This method should behave similarly to the StopTestRun method. (Inherited from IBaseAdapter.)
Public methodCleanupCalled when a test run is completed. (Inherited from IBaseAdapter.)
Public methodInitializeCalled when test adapter is loaded to execute a test run.
Public methodPauseTestRunCalled when the user requests to pause a test run. (Inherited from IBaseAdapter.)
Public methodPreTestRunFinishedCalled when a test run is completed to allow test adapters to clean up.
Public methodReceiveMessageReceives a downstream message from the user interface, a controller, or an agent.
Public methodResumeTestRunCalled when the user requests to resume a test run. (Inherited from IBaseAdapter.)
Public methodRunCalled to execute a test case. (Inherited from IBaseAdapter.)
Public methodStopTestRunCalled when the user requests to stop a test run. (Inherited from IBaseAdapter.)
Top
Show:
© 2015 Microsoft