Table of Contents

Property TestMethodName

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

TestMethodName

Gets the method name where the test is defined, in the TestClassName class. If the test did not originiate in a method, will return null.

public required string? TestMethodName { get; set; }

Property Value

string

Remarks

Note: Will be null if there was no value provided during deserialization.