Share via


ITestContext Interface

A context interface definition for a test context that is passed to a method during the test run process.

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

Syntax

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

The ITestContext type exposes the following members.

Properties

  Name Description
Public property Properties Gets the properties for this test context.
Public property ResultSink Gets the result sink for this test context, which contains the pass or fail result of the test.
Public property RunContextVariables Gets the run context variables.
Public property TestContextVariables Gets the test context variables.

Top

See Also

Reference

Microsoft.VisualStudio.TestTools.Execution Namespace