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.

IHostAdapter::GetTestAdapter Method (ITestElement^, IRunContext^)

 

Loads and returns the test adapter for the given test element and run context.

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

ITestAdapter^ GetTestAdapter(
	ITestElement^ test,
	IRunContext^ runContext
)

Parameters

test
Type: Microsoft.VisualStudio.TestTools.Common::ITestElement^

An ITestElement that describes which test adapter to load.

runContext
Type: Microsoft.VisualStudio.TestTools.Execution::IRunContext^

The IRunContext for the test adapter.

Return to top
Show: