Table of Contents

Property TestMethodUniqueID

Namespace
Xunit.Sdk
Assembly
xunit.v3.common.dll

TestMethodUniqueID

Gets the test method's unique ID. Can be used to correlate test messages with the appropriate test method that they're related to. Will be null if the test did not originate from a method.

string? TestMethodUniqueID { get; }

Property Value

string