testhelp

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package testhelp are re-usable test helpers for all modules in reach.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type R

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

R is a reporting testing.T...

func Reporter

func Reporter(t *testing.T, instance string) *R

Reporter returns an R that reports on a test instance in its logging.

func (*R) Compare

func (r *R) Compare(expected, actual interface{})

Compare reports on differing values in a result to its enclosing R...

func (*R) Errorf

func (r *R) Errorf(format string, values ...interface{})

Errorf reports an error on a test to the enclosing R...

Jump to

Keyboard shortcuts

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