Partager via


IBaseRunContext Interface

Provides an interface that the test adapter uses to communicate with the test execution framework.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
Public Interface IBaseRunContext
public interface IBaseRunContext
public interface class IBaseRunContext
type IBaseRunContext =  interface end
public interface IBaseRunContext

The IBaseRunContext type exposes the following members.

Properties

  Name Description
Public property ResultSink Gets an object used to send test results to the test execution framework.
Public property RunConfig Gets information about the test run.
Public property TestRunner Provides an interface that the test adapter uses to run one or more inner tests.

Top

Methods

  Name Description
Public method PauseTestRun Sends a request to pause the test run.
Public method StopTestRun Sends a request to stop the test run.

Top

See Also

Reference

Microsoft.VisualStudio.TestTools.Execution Namespace