framework

package
v2.1.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package framework provides a lightweight scenario runner used by the integration tests to launch the example server and exercise MCP scenarios.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupTestArtifacts

func CleanupTestArtifacts() error

CleanupTestArtifacts removes process-scoped prepared fixture roots and compiled server binaries, then resets both caches. Test binaries that use the framework must call it from TestMain after m.Run so cache reuse remains available throughout the suite without leaking temporary artifacts.

func SupportsServer

func SupportsServer() bool

SupportsServer reports whether the integration framework can reach a server.

Types

type Runner

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

Runner manages the application-owned SDK server used by integration tests.

func NewRunner

func NewRunner() *Runner

NewRunner creates an SDK integration server runner.

Jump to

Keyboard shortcuts

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