Sdílet prostřednictvím


ITestExecutionPlugin.BeforeExecutionStarted – metoda

Tato metoda je volána před spustit spuštění spustí test.

Obor názvů:  Microsoft.VisualStudio.TestTools.Execution
Sestavení:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (v Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntaxe

'Deklarace
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
)

Parametry

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ITestExecutionPlugin Rozhraní

Microsoft.VisualStudio.TestTools.Execution – obor názvů

IResultSink

IDataCollectionRunContext