Share via


ITestRunner.LoadRun Method

Definition

Runs a load test case.

public:
 Microsoft::VisualStudio::TestTools::Execution::AdapterRunResult LoadRun(cli::array <Microsoft::VisualStudio::TestTools::Common::ITestElement ^> ^ testElement, Microsoft::VisualStudio::TestTools::Execution::IResultSink ^ resultSink, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ contextProperties);
public Microsoft.VisualStudio.TestTools.Execution.AdapterRunResult LoadRun (Microsoft.VisualStudio.TestTools.Common.ITestElement[] testElement, Microsoft.VisualStudio.TestTools.Execution.IResultSink resultSink, System.Collections.Generic.IDictionary<string,object> contextProperties);
abstract member LoadRun : Microsoft.VisualStudio.TestTools.Common.ITestElement[] * Microsoft.VisualStudio.TestTools.Execution.IResultSink * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.VisualStudio.TestTools.Execution.AdapterRunResult
Public Function LoadRun (testElement As ITestElement(), resultSink As IResultSink, contextProperties As IDictionary(Of String, Object)) As AdapterRunResult

Parameters

testElement
ITestElement[]

Array of ITestElement objects to execute.

resultSink
IResultSink

An IResultSink to store the results of the tests.

contextProperties
IDictionary<String,Object>

An IDictionary object that contains the context properties for the test.

Returns

A member of the AdapterRunResult enumeration that indicates the success or failure of each test.

Applies to