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.

ITestExecutionPlugin Interface


Pluggable interface that is used to execute code in the test execution framework.

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

public interface ITestExecutionPlugin

System_CAPS_pubmethodAfterExecutionCompleted(TestRun, IResultSink, IDataCollectionRunContext)

This method is called after all tests have been completed, signifying that the test run is finished,.

System_CAPS_pubmethodAfterTestCompleted(IDataCollectionRunContext, TestExecId)

This method is called after the test has completed.

System_CAPS_pubmethodBeforeExecutionStarted(TestRun, IResultSink, IDataCollectionRunContext)

This method is called before a test run execution starts.

System_CAPS_pubmethodBeforeTestStarted(IDataCollectionRunContext, TestExecId)

This method is called before a test starts.

Classes that implement this interface will be able to execute on agent computers during test runs. A set of classes could be listed in the run configuration, and they will be executed in the order that is specified.

Return to top