Table of Contents

Property Timeout

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

Timeout

Gets the timeout for the test, in milliseconds; if 0, there is no timeout.

int Timeout { get; }

Property Value

int

Remarks

WARNING: Using this with Aggressive will result in undefined behavior. Timeout is only supported by Conservative (or when parallelization is disabled completely).