testing

package
v3.0.0-prev2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 15, 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 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 TestRunWithNilMigration

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

func TestRunWithNilVersion

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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