repo

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptanceTest

func AcceptanceTest(t *testing.T, ctx context.Context, repo eh.ReadWriteRepo)

AcceptanceTest is the acceptance test that all implementations of Repo should pass. It should manually be called from a test case in each implementation:

func TestRepo(t *testing.T) {
    ctx := context.Background() // Or other when testing namespaces.
    store := NewRepo()
    repo.AcceptanceTest(t, ctx, store)
}

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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