envs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner interface {
	// Up runner.
	Up(tb testing.TB) error

	// Down runner.
	Down(tb testing.TB) error
}

Runner is to setup the environment required for testing.

type Runners

type Runners []Runner

Runners is array of Runner.

func New

func New() Runners

func (Runners) Add

func (rs Runners) Add(runners ...Runner) Runners

Add runner.

func (Runners) Down

func (rs Runners) Down(tb testing.TB) error

Down all runners.

func (Runners) Up

func (rs Runners) Up(tb testing.TB) error

Up all runners.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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