Table of Contents

Property Timeout

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

Timeout

Gets the timeout for test (in milliseconds). When 0 is returned, the test will not have a timeout.

int Timeout { get; }

Property Value

int

Remarks

WARNING: Using this with Aggressive will result in undefined behavior. Test timing and timeouts are only reliable when using Conservative (or when parallelization is disabled completely).