Table of Contents

Property Seed

Namespace
Xunit.SimpleRunner
Assembly
xunit.v3.runner.utility.netfx.dll

Seed

Gets the seed value used for randomization.

public required int? Seed { get; set; }

Property Value

int?

Remarks

For v1 and v2 test projects, this value will be null, as they do not support custom seeds.
For v3 test projects, this value will usually not be null.
There is no guarantee that custom test frameworks will support custom seeds.