dbtest

package
v1.9.10 Latest Latest
Warning

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

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

Documentation

Overview

Package dbtest boots the dual in-memory SQLite databases for tests that exercise the default (untagged) storage backends.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupSQLite

func SetupSQLite(t *testing.T)

SetupSQLite points db.DB and db.TelemetryDB at fresh in-memory SQLite databases, initializes config and models, and runs the sqlite migrations. Cleanup closes both databases.

Types

This section is empty.

Jump to

Keyboard shortcuts

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