ITestExecutionPlugin.BeforeExecutionStarted Method
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.
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.