ILoadTestAdapter Interface

Definition

Interface to be implemented by load test adapters.

public interface class ILoadTestAdapter : Microsoft::VisualStudio::TestTools::TestAdapter::ITestAdapter
public interface ILoadTestAdapter : Microsoft.VisualStudio.TestTools.TestAdapter.ITestAdapter
type ILoadTestAdapter = interface
    interface ITestAdapter
    interface IBaseAdapter
Public Interface ILoadTestAdapter
Implements ITestAdapter
Implements

Methods

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(IRunContext)

Called when test adapter is loaded to execute a test run.

(Inherited from ITestAdapter)
LoadRun(ITestElement, ITestContext)

Thread-safe Run method.

PauseTestRun()

Called when the user requests to pause a test run.

(Inherited from IBaseAdapter)
PreTestRunFinished(IRunContext)

Called when a test run is completed to allow test adapters to clean up.

(Inherited from ITestAdapter)
ReceiveMessage(Object)

Receives a downstream message from the user interface, a controller, or an agent.

(Inherited from ITestAdapter)
ResumeTestRun()

Called when the user requests to resume a test run.

(Inherited from IBaseAdapter)
Run(ITestElement, ITestContext)

Called to execute a test case.

(Inherited from IBaseAdapter)
StopTestRun()

Called when the user requests to stop a test run.

(Inherited from IBaseAdapter)

Applies to