testenv

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 7 Imported by: 0

README

License

MIT License. See LICENSE for details.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disabled

func Disabled() bool

func SkipDisabled

func SkipDisabled(t *testing.T)

Types

type ProvideEnvironmentFunc

type ProvideEnvironmentFunc func(ctx context.Context) (any, error)

type ReusableDaemon

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

func RunReusableDaemon

func RunReusableDaemon(
	ctx context.Context,
	waitDuration time.Duration,
	pef ProvideEnvironmentFunc,
) *ReusableDaemon

func (*ReusableDaemon) Done

func (d *ReusableDaemon) Done() <-chan struct{}

func (*ReusableDaemon) Enter

func (d *ReusableDaemon) Enter(ctx context.Context) (any, error)

func (*ReusableDaemon) Exit

func (d *ReusableDaemon) Exit()

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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