pi-mono/packages/coding-agent/test/suite
Marek Pazik d4e2e563ae
feat(coding-agent): make scoped models and tree filter shortcuts configurable (#3343)
- Add app.models.{save,enableAll,clearAll,toggleProvider,reorderUp,reorderDown}
- Add app.tree.filter.{default,noTools,userOnly,labeledOnly,all,cycleForward,cycleBackward}
- Migrate scoped-models-selector cancel to tui.select.cancel
- Prefer reserved actions on key collision in extension shortcut conflict check
2026-04-20 14:35:30 +02:00
..
regressions feat(coding-agent): make scoped models and tree filter shortcuts configurable (#3343) 2026-04-20 14:35:30 +02:00
agent-session-bash-persistence.test.ts test(coding-agent): add session lifecycle characterization suite 2026-04-01 22:59:49 +02:00
agent-session-compaction.test.ts test(coding-agent): add session lifecycle characterization suite 2026-04-01 22:59:49 +02:00
agent-session-model-extension.test.ts test(coding-agent): add session lifecycle characterization suite 2026-04-01 22:59:49 +02:00
agent-session-prompt.test.ts test(coding-agent): add session lifecycle characterization suite 2026-04-01 22:59:49 +02:00
agent-session-queue.test.ts test(coding-agent): add session lifecycle characterization suite 2026-04-01 22:59:49 +02:00
agent-session-retry-events.test.ts test(coding-agent): add session lifecycle characterization suite 2026-04-01 22:59:49 +02:00
agent-session-runtime.test.ts fix(coding-agent): split /clone from /fork UX 2026-04-20 14:33:32 +02:00
harness.ts feat(coding-agent): add after_provider_response hook closes #3128 2026-04-16 20:28:08 +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