storetest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package storetest starts one shared Postgres testcontainer for packages that exercise the real store (ingest, deliver, api, e2e).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DSN

func DSN(t *testing.T) string

DSN returns the connection string of the shared container, starting it on first use. The testcontainers reaper removes the container on process exit.

func New

func New(t *testing.T) *store.Store

New returns a migrated store on a clean (truncated) schema.

Types

This section is empty.

Jump to

Keyboard shortcuts

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