Skip to main content

Module postgres

Module postgres 

Source
Expand description

Shared reusable PostgreSQL container for integration tests.

The container provides isolated databases with automatic stale-resource cleanup. Products own their migrations and seed data; this module owns database creation, connection retry, and teardown mechanics.

Structs§

PostgresTestContainer
Handle to the suite’s shared PostgreSQL container.
PostgresTestDatabase
Isolated PostgreSQL database owned by one test process.