testing

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package testing provides test utilities for the agent package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAgent

type MockAgent struct {
	mock.Mock
}

MockAgent is a testify mock for agent.Agent interface.

func (*MockAgent) Execute

func (m *MockAgent) Execute(ctx context.Context, req *agent.Request) (*agent.Response, error)

Execute runs the mock agent.

func (*MockAgent) Type

func (m *MockAgent) Type() agent.AgentType

Type returns the agent type.

Jump to

Keyboard shortcuts

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