Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Properties Property

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 abstract IDictionary Properties { get; }
/** @property */
public abstract IDictionary get_Properties ()

public abstract function get Properties () : IDictionary

Property Value

An IDictionary object containing key/value pairs representing the test properties.

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

Community Additions

ADD
Show:
© 2015 Microsoft