Compartilhar via


IRunContext Interface

Definition

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

public interface class IRunContext : Microsoft::VisualStudio::TestTools::Execution::IBaseRunContext
public interface IRunContext : Microsoft.VisualStudio.TestTools.Execution.IBaseRunContext
type IRunContext = interface
    interface IBaseRunContext
Public Interface IRunContext
Implements IBaseRunContext
Implements

Properties

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)

Methods

PauseTestRun()

Sends a request to pause the test run.

(Inherited from IBaseRunContext)
StopTestRun()

Sends a request to stop the test run.

(Inherited from IBaseRunContext)

Applies to