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.

IRunContext Interface

Provides an interface for test adapters to retrieve information about a test run.

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

public interface IRunContext : IBaseRunContext

The IRunContext type exposes the following members.

Public propertyAgentNameGets the name of the computer that is running the test.
Public propertyResultSinkGets an object used to send test results to the test execution framework. (Inherited from IBaseRunContext.)
Public propertyRunConfigGets information about the test run. (Inherited from IBaseRunContext.)
Public propertyRunContextVariablesGets the run context variables.
Public propertyTestRunnerProvides an interface that the test adapter uses to run one or more inner tests. (Inherited from IBaseRunContext.)

Public methodPauseTestRunSends a request to pause the test run. (Inherited from IBaseRunContext.)
Public methodStopTestRunSends a request to stop the test run. (Inherited from IBaseRunContext.)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft