toast

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

README

toast

Golang testing library

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FailFast = true
)

Functions

func Assert

func Assert(t *testing.T, condition bool, i ...interface{})

func AssertOrPanic

func AssertOrPanic(condition bool, i ...interface{})

func CheckErr

func CheckErr(t *testing.T, err error)

func Error

func Error(t *testing.T, i ...interface{})

func ShouldPanic

func ShouldPanic(t *testing.T, f func(), i ...interface{})

func Wrap

func Wrap(t *testing.T, init func(), test func(*testing.T), cleanup func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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