dbtest

package
v0.1.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package dbtest provides shared bring-up of a database for the integration test suites. Each helper honors the ZITADEL_TEST_POSTGRES_URL / ZITADEL_TEST_SPANNER_URL override — connect to a database you manage, so no Docker is needed — and otherwise starts a Docker testcontainer.

The bring-up functions live in build-tagged files (postgres_integration / spanner_integration) so testcontainers-go and the container bring-ups never enter non-integration or production builds. This file carries no build tag so the package always has at least one buildable Go file.

Jump to

Keyboard shortcuts

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