testutils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PauseTest

func PauseTest(t *testing.T, config core.RunTime, logger Logger, sleeper Sleeper)

Types

type Logger

type Logger interface {
	Log(t *testing.T, args ...interface{})
}

type RealLogger

type RealLogger struct{}

func (RealLogger) Log

func (RealLogger) Log(t *testing.T, args ...interface{})

type RealSleeper

type RealSleeper struct{}

func (RealSleeper) Sleep

func (RealSleeper) Sleep(duration time.Duration)

type Sleeper

type Sleeper interface {
	Sleep(duration time.Duration)
}

Jump to

Keyboard shortcuts

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