TestFilterContext.DisplayName 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 or sets the display name of the test, as reported to the runner / IDE.
public string DisplayName { get; set; }
member this.DisplayName : string with get, set
Public Property DisplayName As String
Property Value
Remarks
Often equal to MethodName; differs for data-driven tests, tests with a custom TestMethodAttribute display name, or attributes that override it.