Property TestMethodMetadataToken
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.dll
TestMethodMetadataToken
Gets the MetadataToken for the test method. If the test did not
originate in a method, or the test framework did not provide this information, will return null
.
public required int? TestMethodMetadataToken { get; set; }
Property Value
- int?
Remarks
This value is only populated for xUnit.net v3 or later test cases, and will return null
for v1 or v2 test cases, regardless of whether TestMethodName is null
.