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.

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

NameDescription
System_CAPS_pubpropertyAgentName

Gets the name of the computer that is running the test.

System_CAPS_pubpropertyResultSink

Gets an object used to send test results to the test execution framework.(Inherited from IBaseRunContext.)

System_CAPS_pubpropertyRunConfig

Gets information about the test run.(Inherited from IBaseRunContext.)

System_CAPS_pubpropertyRunContextVariables

Gets the run context variables.

System_CAPS_pubpropertyTestRunner

Provides an interface that the test adapter uses to run one or more inner tests.(Inherited from IBaseRunContext.)

NameDescription
System_CAPS_pubmethodPauseTestRun()

Sends a request to pause the test run.(Inherited from IBaseRunContext.)

System_CAPS_pubmethodStopTestRun()

Sends a request to stop the test run.(Inherited from IBaseRunContext.)

Return to top
Show: