Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ILoadTestAdapter Interface

 

Interface to be implemented by load test adapters.

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

public interface ILoadTestAdapter : ITestAdapter, IBaseAdapter

NameDescription
System_CAPS_pubmethodAbortTestRun()

Called when an internal error occurs during a test run. This method should behave similarly to the StopTestRun method.(Inherited from IBaseAdapter.)

System_CAPS_pubmethodCleanup()

Called when a test run is completed.(Inherited from IBaseAdapter.)

System_CAPS_pubmethodInitialize(IRunContext)

Called when test adapter is loaded to execute a test run.(Inherited from ITestAdapter.)

System_CAPS_pubmethodLoadRun(ITestElement, ITestContext)

Thread-safe Run method.

System_CAPS_pubmethodPauseTestRun()

Called when the user requests to pause a test run.(Inherited from IBaseAdapter.)

System_CAPS_pubmethodPreTestRunFinished(IRunContext)

Called when a test run is completed to allow test adapters to clean up.(Inherited from ITestAdapter.)

System_CAPS_pubmethodReceiveMessage(Object)

Receives a downstream message from the user interface, a controller, or an agent.(Inherited from ITestAdapter.)

System_CAPS_pubmethodResumeTestRun()

Called when the user requests to resume a test run.(Inherited from IBaseAdapter.)

System_CAPS_pubmethodRun(ITestElement, ITestContext)

Called to execute a test case.(Inherited from IBaseAdapter.)

System_CAPS_pubmethodStopTestRun()

Called when the user requests to stop a test run.(Inherited from IBaseAdapter.)

Return to top
Show: