Table of Contents

Property UniqueID

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

UniqueID

Gets the unique ID for this test method.

string UniqueID { get; }

Property Value

string

Remarks

The unique identifier for a test method should be able to discriminate among test methods in the same test assembly. This identifier should remain stable until such time as the developer changes some fundamental part of the identity (assembly, collection, test class, or test method). Recompilation of the test assembly is reasonable as a stability changing event.