aboutsummaryrefslogtreecommitdiff
path: root/pgruntime/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pgruntime/main_test.go')
-rw-r--r--pgruntime/main_test.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/pgruntime/main_test.go b/pgruntime/main_test.go
new file mode 100644
index 0000000..db6b0ac
--- /dev/null
+++ b/pgruntime/main_test.go
@@ -0,0 +1,14 @@
+// SPDX-FileCopyrightText: 2026 Stefan Majewsky <majewsky@gmx.net>
+// SPDX-License-Identifier: Apache-2.0
+
+package pgruntime_test
+
+import (
+ "testing"
+
+ "go.xyrillian.de/gg/pgruntime"
+)
+
+func TestMain(m *testing.M) {
+ pgruntime.WithTestDB(m, m.Run)
+}