test

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Completes

func Completes(t *testing.T, duration time.Duration, f func(), args ...interface{})

Completes executes f (in a goroutine), and blocks until either f returns, or the provided duration has elapsed. In the latter case, calls t.Errorf to fail the test. Provide optional format string and arguments to add context to the test error message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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