You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since timed out tests can now be treated as either successes or
failures, update the logic for handling them. Note that before
`self.failed` and `self.timed_out` were separate, but now `self.failed`
includes `self.failed_timed_out`.
By default, tests that time out are treated as failures. For fuzz and property tests with very large state spaces (or on a constrained environment like CI), it may be useful to treat timeouts as successes, since they're not expected to test every possible input. A timeout in this context is not the same as a failure, it just means they weren't able to find any input that caused the test to fail. You can configure this behavior using the `on-timeout` parameter. For example, to treat timeouts as successes:
49
+
By default, tests that time out are treated as failures. For fuzz tests with very large state spaces (or on a constrained environment like CI), it may be useful to treat timeouts as successes, since they're not expected to test every possible input. A timeout in this context is not the same as a failure, it just means they weren't able to find any input that caused the test to fail. You can configure this behavior using the `on-timeout` parameter. For example, to treat timeouts as successes:
0 commit comments