storagetest

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 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.T, 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