storetest

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package storetest provides testing utilities that can be used to test store implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get added in v0.5.0

func Get(t *testing.T, createRepo func(...store.Letter) query.Repository)

Get tests the Get() method of a query repository.

func Insert

func Insert(t *testing.T, s store.Store)

Insert tests the Insert() method of s.

func Query

func Query(t *testing.T, createRepo func(...store.Letter) query.Repository)

Query tests the Query() method of a query repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

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