storagetest

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package storagetest contains high level API tests and test utils for other modules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TmpDB

func TmpDB(t testing.TB, dir string) (*storage.DB, func())

TmpDB returns BadgerDB's storage implementation and cleanup function.

Creates BadgerDB in temporary directory and uses t for errors reporting.

Types

This section is empty.

Jump to

Keyboard shortcuts

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