test

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestResultString = "\n%s test failed.\n\nReturned:\n%+v\n\nExpected:\n%+v\nDiff:\n%+v"

Functions

func CheckResult

func CheckResult(outputA interface{}, outputB interface{}, errA interface{}, errB interface{}, testCaseString string, t *testing.T)

Types

type Data

type Data struct {
	Expected interface{}
	Data     interface{}
	Mock     interface{}
}

type DataSet

type DataSet map[string]Data

type OrderedTestList

type OrderedTestList []string

type OrderedTests

type OrderedTests struct {
	TestDataSet DataSet
	OrderedList OrderedTestList
}

Jump to

Keyboard shortcuts

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