IRunContext Interface
TOC
Collapse the table of content
Expand the table of content

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.

  NameDescription
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.)
Top

  NameDescription
Public methodPauseTestRunSends a request to pause the test run. (Inherited from IBaseRunContext.)
Public methodStopTestRunSends a request to stop the test run. (Inherited from IBaseRunContext.)
Top

Community Additions

ADD
Show:
© 2016 Microsoft