Check Options
proof.check() and @sqlproof share the same core ideas: table sizes, run count,
optional seed, optional setup, and a property function.
Decorator Form
Section titled “Decorator Form”Imperative Form
Section titled “Imperative Form”Fields
Section titled “Fields”| Field | Description |
|---|---|
sizes |
Per-table row counts for generated datasets |
property |
Callable that asserts the SQL property |
setup |
Optional callable run after data insertion |
runs |
Number of generated datasets to test |
seed |
Reproduce a specific generation and shrink trace |
timeout_ms |
Per-run timeout in milliseconds |
commit |
Use schema-isolation mode instead of rollback |
SqlProofClient
Section titled “SqlProofClient”The db object exposes convenience helpers:
Queries use PyGreSQL internally. Prefer these helpers so tests stay independent of the driver.