e2e

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeSession

func InitializeSession(t *testing.T, w io.Writer, r *bufio.Scanner) testutil.JSONRPCResponse

InitializeSession sends a proper MCP initialize handshake.

func SendNotification

func SendNotification(t *testing.T, w io.Writer, method string, params interface{})

SendNotification sends a JSON-RPC notification (no id, no response expected).

func SendRequest

func SendRequest(t *testing.T, w io.Writer, r *bufio.Scanner, method string, params interface{}) testutil.JSONRPCResponse

SendRequest sends a JSON-RPC request and reads the response.

func StartProtomcp

func StartProtomcp(t *testing.T, args ...string) (io.Writer, *bufio.Scanner, func())

StartProtomcp starts the protomcp binary with the given args.

Types

This section is empty.

Jump to

Keyboard shortcuts

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