Documentation
¶
Overview ¶
Package testdb gives tests an isolated DBOS system database: SQLite in a temporary directory or, if MANENT_TEST_DATABASE_URL points to a Postgres server, a new database created for the single test and dropped at the end.
Index ¶
Constants ¶
View Source
const EnvURL = "MANENT_TEST_DATABASE_URL"
EnvURL is the variable with the URL of a Postgres server for tests (e.g. postgres://postgres:postgres@localhost:5432/postgres). The user must be able to create databases.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.