Table of Contents

Property TestMethodUniqueID

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.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.

public required string? TestMethodUniqueID { get; set; }

Property Value

string