ITestAdapter Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface to be implemented by all test adapters.
public interface class ITestAdapter : Microsoft::VisualStudio::TestTools::Execution::IBaseAdapter
public interface ITestAdapter : Microsoft.VisualStudio.TestTools.Execution.IBaseAdapter
type ITestAdapter = interface
interface IBaseAdapter
Public Interface ITestAdapter
Implements IBaseAdapter
- Derived
- 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. |
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. |
ReceiveMessage(Object) |
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(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) |