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 | |
|---|---|---|
| .gif) | Properties | Gets the properties for this test context. | 
| .gif) | ResultSink | Gets the result sink for this test context, which contains the pass or fail result of the test. | 
| .gif) | RunContextVariables | Gets the run context variables. | 
| .gif) | TestContextVariables | Gets the test context variables. | 
Top