pgtest

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package pgtest provisions an isolated PostgreSQL database per test suite, so the team packages' suites can run in parallel against one dev server (see deploy/team/dev/docker-compose.dev.yaml) without clobbering each other's schema.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DSNs

func DSNs(t *testing.T) (ownerDSN, appDSN string)

DSNs returns owner and app DSNs pointing at a freshly created database that is dropped at test cleanup. The suite is skipped when the dev PostgreSQL env vars are unset.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL