testutil/

directory
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2026 License: Apache-2.0

Directories

Path Synopsis
Package codextest creates synthetic, non-secret manual-token fixtures.
Package codextest creates synthetic, non-secret manual-token fixtures.
Package identityharness is what tests of the agent identity credential flow need offline around the real authorization servers: AS-1 and AS-2 are ToolHive's embedded authorization servers, run by the tests themselves (AS-1 through as1servertest), and the harness supplies the rest, following docs/drafts/agent-identity/credentials-and-lifecycle.md for every step it covers:
Package identityharness is what tests of the agent identity credential flow need offline around the real authorization servers: AS-1 and AS-2 are ToolHive's embedded authorization servers, run by the tests themselves (AS-1 through as1servertest), and the harness supplies the rest, following docs/drafts/agent-identity/credentials-and-lifecycle.md for every step it covers:
Package mcpauth exercises static credentials through command-root factories.
Package mcpauth exercises static credentials through command-root factories.
Package oauthbrowser drives explicit browser consent in offline OAuth fixtures.
Package oauthbrowser drives explicit browser consent in offline OAuth fixtures.
Package recoveryhost contains offline fixtures for command-root recovery proofs.
Package recoveryhost contains offline fixtures for command-root recovery proofs.
Package testhome isolates process-wide config discovery in command tests.
Package testhome isolates process-wide config discovery in command tests.

Jump to

Keyboard shortcuts

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