Table of Contents

Property Seed

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

Seed

Gets the seed value used for randomization. If null, then the test framework does not support getting or setting a randomization seed. (For stock versions of xUnit.net, support for settable randomization seeds started with v3.)

public required int? Seed { get; set; }

Property Value

int?

Remarks

Note: Will be null if there was no value provided during deserialization.