testing

package
Version: v3.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 18, 2017 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL