pi-mono/packages/coding-agent/test/suite
2026-06-20 21:07:45 +02:00
..
regressions fix(coding-agent): cache extension imports for session switches 2026-06-20 21:07:45 +02:00
agent-session-bash-persistence.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
agent-session-compaction.test.ts feat(coding-agent): expose post-compaction token estimates 2026-06-18 23:01:10 +02:00
agent-session-model-extension.test.ts Add system prompt options to extension commands 2026-06-01 15:42:56 -05:00
agent-session-prompt.test.ts Fix input event streaming behavior semantics 2026-05-28 10:13:06 +02:00
agent-session-queue.test.ts fix(coding-agent): drain follow-ups queued during agent_end 2026-05-28 18:27:39 +10:00
agent-session-retry-events.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
agent-session-runtime.test.ts Merge pull request #4799 from Perlence/fix/fork-session-id 2026-05-20 15:26:12 +02:00
harness.ts feat(coding-agent): add exclude tools option closes #5109 2026-05-28 23:49:18 +02:00
README.md refactor(coding-agent): replace AgentSessionRuntimeHost with closure-based AgentSessionRuntime 2026-04-03 20:14:12 +02:00

Coding agent suite tests

Use test/suite/ for the new harness-based test suite around AgentSession and AgentSessionRuntime.

Rules:

  • Use test/suite/harness.ts
  • Use the faux provider from packages/ai/src/providers/faux.ts
  • Do not use real provider APIs, real API keys, network calls, or paid tokens
  • Keep these tests CI-safe and deterministic
  • Do not use or extend the legacy test/test-harness.ts path unless a missing capability forces it

Organization:

  • Put broad lifecycle and characterization tests directly under test/suite/
  • Put issue-specific regression tests under test/suite/regressions/
  • Name regression tests as <issue-number>-<short-slug>.test.ts
  • Example: test/suite/regressions/2023-queued-slash-command-followup.test.ts