env

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 7 Imported by: 41

Documentation

Overview

Package env surfaces types to create and manage test environments

Package env exposes types to create type `Environment` used to run feature tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() types.Environment

New creates a test environment with no config attached.

func NewWithConfig

func NewWithConfig(cfg *envconf.Config) types.Environment

NewWithConfig creates an environment using an Environment Configuration value

func NewWithContext added in v0.0.2

func NewWithContext(ctx context.Context, cfg *envconf.Config) (types.Environment, error)

NewWithContext creates a new environment with the provided context and config.

Types

type Environment

type Environment = types.Environment

type Func

type Func = types.EnvFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳