test(coding-agent): add queue characterization coverage

This commit is contained in:
Mario Zechner
2026-04-01 14:31:02 +02:00
parent 09e9de5749
commit 957f21cea8
3 changed files with 210 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# Coding agent suite tests
Use `test/suite/` for the new harness-based test suite around `AgentSession` and `AgentSessionRuntimeHost`.
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`