Documentation
¶
Overview ¶
Package testpg provides Postgres-backed test isolation for mlfs. Each call to DB creates a fresh, uniquely-named schema (pinned via the connection's search_path) and drops it on t.Cleanup, so gated integration tests no longer share one database behind a TRUNCATE. The upshot: `go test ./...` is parallel-safe and the old `-p 1` requirement is gone.
Index ¶
Constants ¶
View Source
const EnvVar = "MLFS_TEST_DATABASE_URL"
EnvVar names the pgx DSN that enables the gated tests.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.