xtest

package
v0.2.55 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(fn interface{}, desc func(desc func(string) *Test))

Run run test

Types

type Test

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

Test Test

func (*Test) In

func (t *Test) In(args ...interface{}) *Test

In input

func (*Test) IsErr

func (t *Test) IsErr(fn ...interface{})

IsErr check if result is error fn is result callback

func (*Test) IsNil

func (t *Test) IsNil(fn ...interface{})

IsNil check if result is nil fn is result callback

Jump to

Keyboard shortcuts

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