TestContext.FullyQualifiedTestClassName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Fully-qualified name of the class containing the test method currently being executed
public virtual string FullyQualifiedTestClassName { get; }
public virtual string? FullyQualifiedTestClassName { get; }
member this.FullyQualifiedTestClassName : string
Public Overridable ReadOnly Property FullyQualifiedTestClassName As String
Property Value
Remarks
This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. Those attributes have access to the test context, and provide messages that are included in the test results. Users can benefit from messages that include the fully-qualified class name in addition to the name of the test method currently being executed.