testing

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 License: MIT Imports: 7 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, command []byte, params ...interface{})

Test runs tests against database implementations.

func TestExec

func TestExec(t *testing.T, d database.Driver, command io.Reader, params []interface{})

func TestLockAndUnlock

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

func TestTransaction

func TestTransaction(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