testing

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqual

func AssertEqual(t *testing.T, have interface{}, want interface{})

func CheckMessage

func CheckMessage(ctx *b.Context, spec m.Map, msg b.Message) bool

func Panic

func Panic(ctx *b.Context, spec m.Map, msg b.Message) bool

Types

type T

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

func MakeT

func MakeT(tbase *testing.T) *T

func SetUp

func SetUp(tbase *testing.T, home string, conf m.Map, logger b.Logger) (*T, *b.Context)

func (*T) AssertEqual

func (t *T) AssertEqual(have interface{}, want interface{})

func (*T) AssertNoUncheckedMessages

func (t *T) AssertNoUncheckedMessages()

func (*T) ExpectMsg

func (t *T) ExpectMsg(key, value string)

func (*T) LogErr

func (t *T) LogErr(txt string, fields m.Map)

func (*T) Run

func (t *T) Run(name string, ctx *b.Context, f func(*T, *b.Context)) bool

func (*T) TearDown

func (t *T) TearDown(ctx *b.Context)

Directories

Path Synopsis
Package erp provides processing handlers for the ERP application used for testing
Package erp provides processing handlers for the ERP application used for testing

Jump to

Keyboard shortcuts

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