testing_ctx

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextAware added in v0.0.20

type ContextAware interface {
	SetContext(ctx context.Context)
	Context() context.Context
}

ContextAware is additional interface for T that allows setting and getting the context

type Status added in v0.0.22

type Status int
const (
	StatusNone Status = iota
	StatusRunning
	StatusPass
	StatusFail
	StatusSkip
)

type T

type T interface {
	Run(name string, f func(t T))
	Logf(format string, args ...interface{})
	Errorf(format string, args ...interface{})
	Log(args ...interface{})
	Error(args ...interface{})
	Skip(args ...interface{})
	Status() Status
}

Directories

Path Synopsis
logs
Package logs provides utilities for real-time log file monitoring and output formatting.
Package logs provides utilities for real-time log file monitoring and output formatting.

Jump to

Keyboard shortcuts

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