aboutsummaryrefslogtreecommitdiff
path: root/testing/pgruntime/main_test.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-08-01 14:50:01 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-08-01 14:50:01 +0200
commit6c174bebade1627a837e70bec827753446d6498a (patch)
tree35a229d9601565685f2ea2e24a268bb29be6bc55 /testing/pgruntime/main_test.go
parente4a5b966decd910213de4ecbdc1b1ed2c4daf947 (diff)
parent6d72c85766a8355e1d660ff0c19b43e93faad4d8 (diff)
downloadgo-gg-6c174bebade1627a837e70bec827753446d6498a.tar.gz
Merge branch 'pgruntime'
Diffstat (limited to 'testing/pgruntime/main_test.go')
-rw-r--r--testing/pgruntime/main_test.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/pgruntime/main_test.go b/testing/pgruntime/main_test.go
new file mode 100644
index 0000000..3f23871
--- /dev/null
+++ b/testing/pgruntime/main_test.go
@@ -0,0 +1,20 @@
+// SPDX-FileCopyrightText: 2026 Stefan Majewsky <majewsky@gmx.net>
+// SPDX-License-Identifier: Apache-2.0
+
+package pgruntime_test
+
+import (
+ "testing"
+
+ _ "github.com/lib/pq"
+ "go.xyrillian.de/gg/pgruntime"
+)
+
+var (
+ defaultBehavior = pgruntime.ConnectionBehavior{}
+ connector = pgruntime.StdConnector("postgres")
+)
+
+func TestMain(m *testing.M) {
+ pgruntime.WithTestDB(m, m.Run)
+}