reporttest

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package reporttest spins up a migrated report.Store backed by a real (throwaway) Postgres via testcontainers, for use by tests in sibling packages (e.g. report/render).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(t *testing.T) *report.Store

NewStore returns a migrated Store on a throwaway Postgres; skipped under -short. Waits on the second "ready to accept connections" log to avoid the init-restart connection-reset flake.

Types

This section is empty.

Jump to

Keyboard shortcuts

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