Partager via


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)

Syntax

'Declaration
Public Interface ILoadTestAdapter _
    Inherits ITestAdapter, IBaseAdapter
public interface ILoadTestAdapter : ITestAdapter, 
    IBaseAdapter
public interface class ILoadTestAdapter : ITestAdapter, 
    IBaseAdapter
type ILoadTestAdapter =  
    interface 
        interface ITestAdapter 
        interface IBaseAdapter 
    end
public interface ILoadTestAdapter extends ITestAdapter, IBaseAdapter

The ILoadTestAdapter type exposes the following members.

Methods

  Name Description
Public method AbortTestRun Called when an internal error occurs during a test run. This method should behave similarly to the StopTestRun method. (Inherited from IBaseAdapter.)
Public method Cleanup Called when a test run is completed. (Inherited from IBaseAdapter.)
Public method Initialize Called when test adapter is loaded to execute a test run. (Inherited from ITestAdapter.)
Public method LoadRun Thread-safe Run method.
Public method PauseTestRun Called when the user requests to pause a test run. (Inherited from IBaseAdapter.)
Public method PreTestRunFinished Called when a test run is completed to allow test adapters to clean up. (Inherited from ITestAdapter.)
Public method ReceiveMessage Receives a downstream message from the user interface, a controller, or an agent. (Inherited from ITestAdapter.)
Public method ResumeTestRun Called when the user requests to resume a test run. (Inherited from IBaseAdapter.)
Public method Run Called to execute a test case. (Inherited from IBaseAdapter.)
Public method StopTestRun Called when the user requests to stop a test run. (Inherited from IBaseAdapter.)

Top

See Also

Reference

Microsoft.VisualStudio.TestTools.TestAdapter Namespace