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)
Syntax
'Declaration
Public Interface IRunContext _
    Inherits IBaseRunContext
public interface IRunContext : IBaseRunContext
public interface class IRunContext : IBaseRunContext
type IRunContext =  
    interface 
        interface IBaseRunContext 
    end
public interface IRunContext extends IBaseRunContext
The IRunContext type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | AgentName | Gets the name of the computer that is running the test. | 
| .gif) | ResultSink | Gets an object used to send test results to the test execution framework. (Inherited from IBaseRunContext.) | 
| .gif) | RunConfig | Gets information about the test run. (Inherited from IBaseRunContext.) | 
| .gif) | RunContextVariables | Gets the run context variables. | 
| .gif) | TestRunner | Provides an interface that the test adapter uses to run one or more inner tests. (Inherited from IBaseRunContext.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | PauseTestRun | Sends a request to pause the test run. (Inherited from IBaseRunContext.) | 
| .gif) | StopTestRun | Sends a request to stop the test run. (Inherited from IBaseRunContext.) | 
Top