Share via


ITestExecutionPlugin.BeforeExecutionStarted Method

This method is called before a test run execution starts.

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

Syntax

'Declaration
Sub BeforeExecutionStarted ( _
    run As TestRun, _
    sink As IResultSink, _
    runContext As IDataCollectionRunContext _
)
void BeforeExecutionStarted(
    TestRun run,
    IResultSink sink,
    IDataCollectionRunContext runContext
)
void BeforeExecutionStarted(
    TestRun^ run, 
    IResultSink^ sink, 
    IDataCollectionRunContext^ runContext
)
abstract BeforeExecutionStarted : 
        run:TestRun * 
        sink:IResultSink * 
        runContext:IDataCollectionRunContext -> unit
function BeforeExecutionStarted(
    run : TestRun, 
    sink : IResultSink, 
    runContext : IDataCollectionRunContext
)

Parameters

.NET Framework Security

See Also

Reference

ITestExecutionPlugin Interface

Microsoft.VisualStudio.TestTools.Execution Namespace

IResultSink

IDataCollectionRunContext