statefulTest

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T interface {
	Errorf(format string, args ...interface{})
	FailNow()
	Logf(format string, args ...any)
	// PickValue returns the next value
	PickValue(untyped generator.UntypedGenerator) interface{}
	// HasMore is used for generating a sequence of values
	HasMore() bool
	// Cleanup runs a function when the test is done
	Cleanup(f func())
}

T is the testing interface used for writing stateful tests

Jump to

Keyboard shortcuts

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