perf: golang.org/x/perf/storage/db/dbtest Index | Files

package dbtest

import "golang.org/x/perf/storage/db/dbtest"

Index

Package Files

dbtest.go nocloud.go

func NewDB Uses

func NewDB(t *testing.T) (*db.DB, func())

NewDB makes a connection to a testing database, either sqlite3 or Cloud SQL depending on the -cloud flag. cleanup must be called when done with the testing database, instead of calling db.Close()

Package dbtest imports 3 packages (graph). Updated 2017-10-07. Refresh now. Tools for package owners.