Documentation
¶
Overview ¶
Package dbtest gives tests a fresh, migrated PostgreSQL database.
Tests are skipped unless AMMONODE_TEST_DATABASE_URL points at a server where the user may create databases, e.g. the dev container:
AMMONODE_TEST_DATABASE_URL=postgres://ammonode:ammonode@127.0.0.1:5432/ammonode?sslmode=disable
Index ¶
Constants ¶
View Source
const EnvURL = "AMMONODE_TEST_DATABASE_URL"
EnvURL names the variable holding the admin connection string used by tests.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.