MSDN Library
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.

TestContext::Properties Property

 

When overridden in a derived class, gets the test properties.

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

public:
property IDictionary^ Properties {
	virtual IDictionary^ get() abstract;
}

Property Value

Type: System.Collections::IDictionary^

An IDictionary object that contains key/value pairs that represent the test properties.

This member contains the test and run context. Each entry in this collection is a Generic KeyValuePair<TKey, TValue> 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

Return to top
Show:
© 2016 Microsoft