repo

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptanceTest

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

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) {
    store := NewRepo()
    repo.AcceptanceTest(t, store, context.Background())
}

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