# Proptest configuration to prevent stack overflow
# These settings ensure property tests run within memory constraints
# Maximum number of test cases to generate per property test
# Reduced from default 256 for faster coverage runs
cases = 5
# Maximum amount of data to generate for shrinking
max_shrink_iters = 10
# Maximum recursion depth for recursive strategies
# This is critical to prevent stack overflow
max_recurse = 8
# Maximum size of generated collections
max_collection_size = 100
# Timeout for each test case in milliseconds
timeout = 5000
# Use deterministic RNG for reproducible tests
# This helps with debugging failures
deterministic = false
# Fork tests to isolate failures (not supported on all platforms)
fork = false
# Set a reasonable test result cache size
result_cache_size = 256
# Limit the maximum size of generated strings
max_string_size = 1000
# Limit the maximum size of generated byte arrays
max_bytes_size = 10000