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)
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 | |
---|---|---|
AgentName | Gets the name of the computer that is running the test. | |
ResultSink | Gets an object used to send test results to the test execution framework. (Inherited from IBaseRunContext.) | |
RunConfig | Gets information about the test run. (Inherited from IBaseRunContext.) | |
RunContextVariables | Gets the run context variables. | |
TestRunner | Provides an interface that the test adapter uses to run one or more inner tests. (Inherited from IBaseRunContext.) |
Top
Methods
Name | Description | |
---|---|---|
PauseTestRun | Sends a request to pause the test run. (Inherited from IBaseRunContext.) | |
StopTestRun | Sends a request to stop the test run. (Inherited from IBaseRunContext.) |
Top