Export (0) Print
Expand All

TestContext.TestName Property

Gets the test name.

Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in microsoft.visualstudio.qualitytools.unittestframework.dll)

public virtual string TestName { get; }
/** @property */
public String get_TestName ()

public function get TestName () : String

Property Value

The test name.

Exception typeCondition

InvalidCastException

An invalid value type is associated with the TestName property of the test context.

Community Additions

ADD
Show:
© 2014 Microsoft