testing/

directory
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT

Directories

Path Synopsis
Package contract implements the Layer 6 contract tests: it vendors a trimmed copy of Microsoft's Graph v1.0 OpenAPI description and validates the requests and responses that teams-mcp's Go port actually sends.
Package contract implements the Layer 6 contract tests: it vendors a trimmed copy of Microsoft's Graph v1.0 OpenAPI description and validates the requests and responses that teams-mcp's Go port actually sends.
cmd/gencontract command
Command gencontract regenerates the committed Layer 6 contract artifacts (the trimmed OpenAPI description, the route list and the provenance record) from a local, gitignored refs/ mirror.
Command gencontract regenerates the committed Layer 6 contract artifacts (the trimmed OpenAPI description, the route list and the provenance record) from a local, gitignored refs/ mirror.
Command coveragecheck enforces the repo's coverage floor over the paths that count.
Command coveragecheck enforces the repo's coverage floor over the paths that count.
Command docgen regenerates docs/commands (per-command markdown), docs/man (man pages) and docs/completion (shell completion scripts) from the cobra command tree, so the documentation cannot drift from the CLI.
Command docgen regenerates docs/commands (per-command markdown), docs/man (man pages) and docs/completion (shell completion scripts) from the cobra command tree, so the documentation cannot drift from the CLI.
Command docsite renders the user documentation into a static site.
Command docsite renders the user documentation into a static site.
Package fakegraph is a stateful, in-memory Microsoft Graph server for the teams CLI test suite.
Package fakegraph is a stateful, in-memory Microsoft Graph server for the teams CLI test suite.
Package fakeidp is an in-process fake Microsoft identity platform (Microsoft Entra ID) that MSAL Go can talk to: a TLS httptest server that serves the OIDC metadata document, the device-code endpoint, the token endpoint (device code, auth code + PKCE and refresh grants) and the JWKS document, plus helpers that drive the interactive auth-code flow headlessly.
Package fakeidp is an in-process fake Microsoft identity platform (Microsoft Entra ID) that MSAL Go can talk to: a TLS httptest server that serves the OIDC metadata document, the device-code endpoint, the token endpoint (device code, auth code + PKCE and refresh grants) and the JWKS document, plus helpers that drive the interactive auth-code flow headlessly.

Jump to

Keyboard shortcuts

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