Property TestClassMetadataToken
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.dll
TestClassMetadataToken
Gets the MetadataToken for the test class. If the test did not
originate in a class, will return null
.
public required int? TestClassMetadataToken { 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 TestClassName is null
.