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

parallel

package
v1.18.8 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Test

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

Test is a helper for running tests in parallel without having to create new Go test functions.

func New

func New(t *testing.T, fns ...func(*assert.CollectT)) *Test

New creates a new Test. Tests are executed during given test's cleanup.

func (*Test) Add

func (t *Test) Add(fn func(*assert.CollectT))

Add adds a test function to be executed in parallel.

Jump to

Keyboard shortcuts

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