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

logline

package
v1.15.4 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithStderrLineContains

func WithStderrLineContains(lines ...string) func(*options)

func WithStdoutLineContains

func WithStdoutLineContains(lines ...string) func(*options)

Types

type LogLine

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

func New

func New(t *testing.T, fopts ...Option) *LogLine

func (*LogLine) Cleanup

func (l *LogLine) Cleanup(t *testing.T)

func (*LogLine) EventuallyFoundAll

func (l *LogLine) EventuallyFoundAll(t *testing.T)

func (*LogLine) FoundAll

func (l *LogLine) FoundAll() bool

func (*LogLine) Run

func (l *LogLine) Run(t *testing.T, ctx context.Context)

func (*LogLine) Stderr

func (l *LogLine) Stderr() io.WriteCloser

func (*LogLine) Stdout

func (l *LogLine) Stdout() io.WriteCloser

type Option

type Option func(*options)

Option is a function that configures the process.

Jump to

Keyboard shortcuts

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