Help us shape the future of Go! Take the 2026 Go Developer Survey

testutils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package testutils provides some basic test routines that were proliferating

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertAllEqual

func AssertAllEqual(t *testing.T, errorMessage string, objs ...interface{})

AssertFalse produces an error if a deep inspection of the passed-in objects differ

func AssertEqual

func AssertEqual(t *testing.T, errorMessage string, obj1, obj2 interface{})

AssertFalse produces an error if the passed-in objects differ

func AssertFalse

func AssertFalse(t *testing.T, errorMessage string, booleanCondition bool)

AssertFalse produces an error if the passed-in condition is not false

func AssertNotEqual

func AssertNotEqual(t *testing.T, errorMessage string, obj1, obj2 interface{})

AssertNotEqual produces an error if the passed-in objects are equal

func AssertTrue

func AssertTrue(t *testing.T, errorMessage string, booleanCondition bool)

AssertFalse produces an error if the passed-in condition is false

Types

This section is empty.

Jump to

Keyboard shortcuts

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