integration

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen() (net.Listener, *grpc.ClientConn, error)

Listen opens a random local port and listens on it.

Types

type Env

type Env struct {
	*integration.Env
	// contains filtered or unexported fields
}

Env holds a complete testing environment for end-to-end tests.

func NewEnv

func NewEnv(ctx context.Context, t testing.TB) *Env

NewEnv sets up common resources for tests.

func (*Env) Close

func (env *Env) Close()

Close releases resources allocated by NewEnv.

Jump to

Keyboard shortcuts

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