testutil

package
v0.0.0-...-4c3f66c Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestContainer

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

TestContainer is test container.

func NewTestContiner

func NewTestContiner(t *testing.T, appID string, stronglyConsistent bool) (*TestContainer, error)

NewTestContiner return test container.

func (*TestContainer) AddTest

func (tc *TestContainer) AddTest(f func(t *testing.T))

AddTest add test to container.

func (*TestContainer) RunTest

func (tc *TestContainer) RunTest()

RunTest run test in container.

Jump to

Keyboard shortcuts

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