world

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 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 World

type World struct {
	Attributes map[string]interface{}
	T          *testing.T
	Require    *require.Assertions
	Assert     *assert.Assertions
	// contains filtered or unexported fields
}

func New added in v0.1.0

func New(t *testing.T) (*World, func() error)

func (*World) AddCleanup added in v0.1.0

func (w *World) AddCleanup(f func() error)

func (World) GetInt

func (w World) GetInt(name string) int

func (World) GetString

func (w World) GetString(name string) string

func (World) Put

func (w World) Put(name string, value interface{})

Jump to

Keyboard shortcuts

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