Documentation ¶
Overview ¶
Package testing has the database tests. All database drivers must pass the Test function. This lives in it's own package so it stays a test dependency.
Index ¶
- func Test(t *testing.T, d database.Driver, migration []byte)
- func TestLockAndUnlock(t *testing.T, d database.Driver)
- func TestNilVersion(t *testing.T, d database.Driver)
- func TestRun(t *testing.T, d database.Driver, migration io.Reader)
- func TestRunWithNilMigration(t *testing.T, d database.Driver)
- func TestRunWithNilVersion(t *testing.T, d database.Driver, migration io.Reader)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.