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

tester

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func (*Client) Call

type Result

type Result struct {
	Text string
	Func types.CompletionFunctionCall
	Err  error
}

type Runner

type Runner struct {
	*runner.Runner

	Client *Client
}

func NewRunner

func NewRunner(t *testing.T) *Runner

func (*Runner) RespondWith

func (r *Runner) RespondWith(result ...Result)

func (*Runner) Run

func (r *Runner) Run(script, input string) (string, error)

func (*Runner) RunDefault

func (r *Runner) RunDefault() string

Jump to

Keyboard shortcuts

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