testutil

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package testutil provides disposable infrastructure for lobby package tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEmptyPostgres

func NewEmptyPostgres(t *testing.T) *gorm.DB

NewEmptyPostgres starts an isolated PostgreSQL database without any schema and registers both pool and container cleanup.

func NewPostgresFixture

func NewPostgresFixture(t *testing.T) *gorm.DB

NewPostgresFixture starts an isolated PostgreSQL database, migrates only the generic lobby schema, and registers both pool and container cleanup.

Types

This section is empty.

Jump to

Keyboard shortcuts

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