framework

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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