aboutsummaryrefslogtreecommitdiff
path: root/testing/pgruntime/main_test.go
blob: 3f238714a4becc492f6e2122810963a49415404f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)
}