tupletest

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTest

func RunTest(t *testing.T, fnc Func, opts *Options)

RunTest runs all tests for tuple store implementations.

Types

type Func

type Func func(t testing.TB) tuple.Store

Func is a constructor for database implementations. It returns an empty database and a function to destroy it.

type Options added in v0.2.0

type Options struct {
	NoLocks bool // not safe for concurrent writes
}

type Test

type Test struct {
	// contains filtered or unexported fields
}

func NewTest

func NewTest(t testing.TB, db tuple.Store) *Test

Jump to

Keyboard shortcuts

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