Partager via


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)

Syntax

'Declaration
Public Interface ITestExecutionPlugin
public interface ITestExecutionPlugin
public interface class ITestExecutionPlugin
type ITestExecutionPlugin =  interface end
public interface ITestExecutionPlugin

The ITestExecutionPlugin type exposes the following members.

Methods

  Name Description
Public method AfterExecutionCompleted This method is called after all tests have been completed, signifying that the test run is finished,.
Public method AfterTestCompleted This method is called after the test has completed.
Public method BeforeExecutionStarted This method is called before a test run execution starts.
Public method BeforeTestStarted This method is called before a test starts.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.TestTools.Execution Namespace

IPlugin