testhelper

package
v0.0.0-...-24fb135 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package testhelper helps test storage providers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestSessionStore

func TestSessionStore(t *testing.T, newDB func() storage.Provider)

TestSessionStore tests session store functionality given a storage.Provider for persistence.

func TestStorageProvider

func TestStorageProvider(t *testing.T, db storage.Provider)

TestStorageProvider runs a set of common tests on a storage.Provider implementation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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