Share via


ITestExecutionPlugin.BeforeExecutionStarted Method

Definition

This method is called before a test run execution starts.

public:
 void BeforeExecutionStarted(Microsoft::VisualStudio::TestTools::Common::TestRun ^ run, Microsoft::VisualStudio::TestTools::Execution::IResultSink ^ sink, Microsoft::VisualStudio::TestTools::Execution::IDataCollectionRunContext ^ runContext);
public void BeforeExecutionStarted (Microsoft.VisualStudio.TestTools.Common.TestRun run, Microsoft.VisualStudio.TestTools.Execution.IResultSink sink, Microsoft.VisualStudio.TestTools.Execution.IDataCollectionRunContext runContext);
abstract member BeforeExecutionStarted : Microsoft.VisualStudio.TestTools.Common.TestRun * Microsoft.VisualStudio.TestTools.Execution.IResultSink * Microsoft.VisualStudio.TestTools.Execution.IDataCollectionRunContext -> unit
Public Sub BeforeExecutionStarted (run As TestRun, sink As IResultSink, runContext As IDataCollectionRunContext)

Parameters

run
TestRun

The test run that is currently processed and for which a special action is required.

sink
IResultSink

An IResultSink object that is used to send data.

runContext
IDataCollectionRunContext

An IDataCollectionRunContext object that represents the context for the test.

Applies to