Files
deepseek-harness/packages/test-support/README.md
T
gengruilin 8d19b4c841 test(mcp): share the OAuth world and manager profile through dsh-mcp-testkit
The manager's OAuth tests imported mcp-client's OAuth world through a
relative path into another package, which the package surface rules forbid
for fixtures. The OAuth world and the manager profile fixture move into the
new test-support library @deepseek-ai/dsh-mcp-testkit. The MCP client and
manager tests import it by name, and both packages drop the development
dependencies that only the moved fixtures needed.
2026-11-06 03:19:21 +08:00

2.4 KiB

description, kind
description kind
The test-support group map: keyless test harnesses, LLM mock and replay servers, and Loader smoke helpers for developers writing and running repository tests. package-group

packages/test-support

English | 中文

Summary

The test-support group gives repository tests deterministic, keyless ways to exercise the real product. It includes Loader application harnesses, session-log snapshot adapters, a replay LLM plugin, and a scriptable OpenAI-compatible fault server. Each package is support-tier infrastructure; a package moves out of this group when it gains a product contract and product consumers.

Table of Contents


Packages

Package Role
session-snapshot Provides session-log snapshot support and protocol adapters for profile-driven tests
agent-loop-testkit Provides the shared prerequisite services for tests that exercise the concrete AgentLoop
tool-testkit Defines tool fixtures and exercises invocation or executor behavior in tests
mcp-testkit Serves a loopback MCP OAuth world and mounts the MCP manager through a real profile in tests
client-runtime Provides the jsdom slot test bench for browser feature specs
remote-mock Provides the endpoint-named Typert Remote mock and the Connection carrier face whole-client specs install
loader-smoke Boots Loader-composed applications and drives fixture turns for smoke tests
llm-mock-server Provides a scriptable OpenAI-compatible fault server for recovery tests
llm-replay Replays recorded model streams for keyless tests and demos

  • Testing policy — the keyless snapshot tier these harnesses serve and when it is required.
  • Package groups — how support groups relate to the product groups.

Dev Note

Working context for maintainers — click to expand

None.