Table of Contents

Property UniqueID

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

UniqueID

Gets a unique identifier for the test.

string UniqueID { get; }

Property Value

string

Remarks

The unique identifier for a test should be able to discriminate among test, even those which are varied invocations against the same test method (i.e., theories). This identifier should remain stable until such time as the developer changes some fundamental part of the identity (assembly, class name, test name, or test data). Recompilation of the test assembly is reasonable as a stability changing event.