This documentation is archived and is not being maintained.

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)

public interface ITestContext

The ITestContext type exposes the following members.

Public propertyPropertiesGets the properties for this test context.
Public propertyResultSinkGets the result sink for this test context, which contains the pass or fail result of the test.
Public propertyRunContextVariablesGets the run context variables.
Public propertyTestContextVariablesGets the test context variables.