agent-test
Installation
SKILL.md
Write agent tests: $ARGUMENTS
Before Starting
- Read existing test examples:
/Users/joshuashepherd/Desktop/dev/repos/ai-lab-agent/tests/— unit tests for catalog, router, citations, tools, context/Users/joshuashepherd/Desktop/dev/repos/ai-lab-agent/e2e/— Playwright endpoint specssrc/lib/ai-lab/catalog.test.ts— catalog validation tests (local)
- Read the smoke test patterns:
/Users/joshuashepherd/Desktop/dev/repos/ai-lab-agent/smoke-test-chat.ts— tool-triggering prompts/Users/joshuashepherd/Desktop/dev/repos/ai-lab-agent/smoke-test-context.ts— context propagation/Users/joshuashepherd/Desktop/dev/repos/ai-lab-agent/smoke-test-fidelity.ts— book fidelity (file_search + citations)
- Check test infrastructure:
- Run
pnpm test:runfor Vitest (unit tests intests/unit/) - Run
pnpm test:e2efor Playwright (e2e tests intests/e2e/)
- Run