coretests

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAssertMessage added in v0.0.4

func GetAssertMessage(testCaseMessenger TestCaseMessenger, counter int) string

func GetAssertMessageQuick added in v0.0.4

func GetAssertMessageQuick(
	when,
	actual,
	expected interface{},
	counter int,
) string

func GetTestHeader added in v0.0.4

func GetTestHeader(testCaseMessenger TestCaseMessenger) string

func SkipOnUnix

func SkipOnUnix(t *testing.T)

Skip on Unix

func SkipOnWindows

func SkipOnWindows(t *testing.T)

Skip on Windows

Types

type TestCaseMessenger added in v0.0.4

type TestCaseMessenger interface {
	FuncName() string
	Value() interface{}
	Expected() interface{}
	Actual() interface{}
}

type TestFuncName added in v0.0.4

type TestFuncName string

func (TestFuncName) Value added in v0.0.4

func (funcName TestFuncName) Value() string

Jump to

Keyboard shortcuts

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