runner

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingContentLength = errors.New("missing content-length")
	ErrServerTimeout        = errors.New("server timeout")
	ErrConnectionFailed     = errors.New("connection failed")
)

Functions

func ExecuteCleanup

func ExecuteCleanup(cleanup *client.TestCleanup) error

ExecuteCleanup performs cleanup operations after running a test

func ExecuteSetup

func ExecuteSetup(setup *client.TestSetup) error

ExecuteSetup performs setup operations before running a test

func RunCLITest

func RunCLITest(runCommand string, stdin string, timeoutSeconds int) (*client.TestResult, error)

func RunHTTPTest

func RunHTTPTest(programConfig *client.ProgramConfig, serverConfig *client.ServerConfig,
	runCommand string, test client.Test) (*client.TestResult, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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