testsupport

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenPostgres

func OpenPostgres(t testing.TB) *sql.DB

OpenPostgres opens the configured integration database after validating its server contract.

func UniqueName

func UniqueName(t testing.TB, prefix string) string

UniqueName returns a valid, test-owned PostgreSQL identifier derived from t.Name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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