testing

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package testing provides default values and utilities for testing orla.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTestModelName

func GetTestModelName() string

Types

type CapturedOutput

type CapturedOutput struct {
	OriginalStdout *os.File
	OriginalStderr *os.File
	CapturedStdout *os.File // Read end
	CapturedStderr *os.File // Read end
	// contains filtered or unexported fields
}

func NewCapturedOutput

func NewCapturedOutput() (*CapturedOutput, error)

NewCapturedOutput captures both stdout and stderr output and returns them separately Returns *CapturedOutput and error

func (*CapturedOutput) Stop

func (capturedOutput *CapturedOutput) Stop() (string, string, error)

Stop stops capturing output and returns the captured output

Jump to

Keyboard shortcuts

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