Local Development
Schema File Mode
Section titled “Schema File Mode”The easiest local setup is a schema file:
SqlProof can manage disposable Postgres instances through the optional testcontainers extra:
Docker must be running when using testcontainers.
Local Postgres
Section titled “Local Postgres”If you already run Postgres locally, point SqlProof at a test database:
Use a dedicated development or CI database. Never run generated-data tests against production.
Pytest
Section titled “Pytest”SqlProof tests run with normal pytest:
The pytest plugin is auto-discovered from the installed package and adds the
--sqlproof-* options.