testing

package
v3.4.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2018 License: MIT Imports: 6 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test(t *testing.T, d database.Driver, migration []byte)

Test runs tests against database implementations.

func TestDrop

func TestDrop(t *testing.T, d database.Driver)

func TestLockAndUnlock

func TestLockAndUnlock(t *testing.T, d database.Driver)

func TestNilVersion

func TestNilVersion(t *testing.T, d database.Driver)

func TestRun

func TestRun(t *testing.T, d database.Driver, migration io.Reader)

func TestSetVersion

func TestSetVersion(t *testing.T, d database.Driver)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL