TestContext.Properties Property
Visual Studio 2012
When overridden in a derived class, gets the test properties.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
This member contains the test and run context. Each entry in this collection is a Generic KeyValuePair that contains a key string and an object value. The following is a list of possible TestContext property keys:
TotalAgents
ControllerName
AgentWeighting
AgentName
TestDeploymentDir
AgentId
TestLogsDir
TestDir
TestName
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.