Bagikan melalui


TestContext.FullyQualifiedTestClassName Property

Gets the fully-qualified name of the class that contains the test method that is currently running.

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

Syntax

'Declaration
Public Overridable ReadOnly Property FullyQualifiedTestClassName As String
public virtual string FullyQualifiedTestClassName { get; }
public:
virtual property String^ FullyQualifiedTestClassName {
    String^ get ();
}
abstract FullyQualifiedTestClassName : string with get 
override FullyQualifiedTestClassName : string with get
function get FullyQualifiedTestClassName () : String

Property Value

Type: String
The fully-qualified name of the class that contains the test method that is currently running.

.NET Framework Security

See Also

Reference

TestContext Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace