Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITestRunner::Run Method (array<ITestElement^>^, IResultSink^)

 

Runs a test case.

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

AdapterRunResult Run(
	array<ITestElement^>^ testElement,
	IResultSink^ resultSink
)

Parameters

testElement
Type: array<Microsoft.VisualStudio.TestTools.Common::ITestElement^>^

Array of ITestElement objects to execute.

resultSink
Type: Microsoft.VisualStudio.TestTools.Execution::IResultSink^

An IResultSink to store the results of the tests.

Return Value

Type: Microsoft.VisualStudio.TestTools.Execution::AdapterRunResult

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

Return to top
Show: