Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestExecutionEventArgs.TestContext Property

 

Gets the test context of the user.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public TestContext TestContext { get; }

Property Value

Type: Microsoft.VisualStudio.TestTools.UnitTesting.TestContext

The test context of the user.

This property is defined only in Initialize methods.

Return to top
Show: