testing

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const TestServer = "localhost:11211"

TestServer is the host that points to the development memcached instance

Variables

This section is empty.

Functions

This section is empty.

Types

type TestCase

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

TestCase provides useful repetitive tests functions

func Setup

func Setup(t *testing.T) *TestCase

Setup will prepare the environment to be used for every test.

func (*TestCase) Teardown

func (tc *TestCase) Teardown()

Teardown the test environment

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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