open-multi-agent/tests
JackChen c23a20bb6c
test: add LLM adapter contract tests, improve coverage from 71% to 88% (#56)
- Add contract tests for Anthropic, OpenAI, Gemini, Copilot adapters
- Add optional E2E test suite (tests/e2e/, run with npm run test:e2e)
- Add shared test fixtures (tests/helpers/llm-fixtures.ts)
- Configure vitest to exclude e2e tests by default
- Add "files" field to package.json to reduce npm package size by 50%
- Align npm description with GitHub repo description
- Bump version to 1.0.1
2026-04-05 14:14:43 +08:00
..
e2e test: add LLM adapter contract tests, improve coverage from 71% to 88% (#56) 2026-04-05 14:14:43 +08:00
helpers test: add LLM adapter contract tests, improve coverage from 71% to 88% (#56) 2026-04-05 14:14:43 +08:00
agent-hooks.test.ts feat(agent): add beforeRun / afterRun lifecycle hooks (#45) 2026-04-05 00:41:21 +08:00
agent-pool.test.ts test: improve coverage from 37% to 71% (#41) (#53) 2026-04-05 13:37:00 +08:00
anthropic-adapter.test.ts test: add LLM adapter contract tests, improve coverage from 71% to 88% (#56) 2026-04-05 14:14:43 +08:00
approval.test.ts feat(orchestrator): add onApproval callback for human-in-the-loop (#32) 2026-04-05 02:46:20 +08:00
built-in-tools.test.ts test: improve coverage from 37% to 71% (#41) (#53) 2026-04-05 13:37:00 +08:00
copilot-adapter.test.ts test: add LLM adapter contract tests, improve coverage from 71% to 88% (#56) 2026-04-05 14:14:43 +08:00
gemini-adapter-contract.test.ts test: add LLM adapter contract tests, improve coverage from 71% to 88% (#56) 2026-04-05 14:14:43 +08:00
gemini-adapter.test.ts chore: support Node >=18, add optional @google/genai peer dependency and API key fallback 2026-04-04 22:12:28 +03:00
grok-adapter.test.ts feat(llm): add first-class Grok (xAI) support with dedicated GrokAdapter (#44) 2026-04-04 18:20:55 +08:00
llm-adapters.test.ts test: improve coverage from 37% to 71% (#41) (#53) 2026-04-05 13:37:00 +08:00
loop-detection.test.ts feat(agent): smart loop detection for stuck agents (#49) 2026-04-05 13:01:53 +08:00
openai-adapter.test.ts test: add LLM adapter contract tests, improve coverage from 71% to 88% (#56) 2026-04-05 14:14:43 +08:00
openai-fallback.test.ts feat(llm): add fallback tool-call extraction for local models (#15) 2026-04-05 11:49:10 +08:00
orchestrator.test.ts test: improve coverage from 37% to 71% (#41) (#53) 2026-04-05 13:37:00 +08:00
scheduler.test.ts test: improve coverage from 37% to 71% (#41) (#53) 2026-04-05 13:37:00 +08:00
semaphore.test.ts chore: add tests, CI, contributing guide, and PR template 2026-04-02 23:43:54 +08:00
shared-memory.test.ts chore: add tests, CI, contributing guide, and PR template 2026-04-02 23:43:54 +08:00
structured-output.test.ts feat: add optional outputSchema (Zod) for structured agent output (#36) 2026-04-03 13:45:47 +08:00
task-queue.test.ts chore: add tests, CI, contributing guide, and PR template 2026-04-02 23:43:54 +08:00
task-retry.test.ts feat: task-level retry with exponential backoff (#37) 2026-04-03 14:08:36 +08:00
task-utils.test.ts chore: add tests, CI, contributing guide, and PR template 2026-04-02 23:43:54 +08:00
team-messaging.test.ts test: improve coverage from 37% to 71% (#41) (#53) 2026-04-05 13:37:00 +08:00
text-tool-extractor.test.ts feat(llm): add fallback tool-call extraction for local models (#15) 2026-04-05 11:49:10 +08:00
tool-executor.test.ts chore: add tests, CI, contributing guide, and PR template 2026-04-02 23:43:54 +08:00
trace.test.ts feat: add onTrace observability callback (#18) 2026-04-03 15:28:59 +08:00