Commit 537ef5d
committed
test: add 247 tests across workspace, boost coverage to 79%
Phase 2 coverage improvement (71.95% -> 79.04%):
Integration tests (48 new):
- Agent tool loop: output, error markers, max iterations
- Tool errors: blocked, confirmation, sandbox, IO error
- Streaming: chunks, empty response, redaction
- Memory: persistence, summarization, history
- Commands: /skills, /skill, /feedback
- Builder: security, skill reload, shutdown
LLM crate (55 new):
- claude.rs: request serialization, SSE parsing, split_messages
- ollama.rs: host parsing, message conversion
- orchestrator.rs: task classification, routing, fallback
- any.rs: enum dispatch for all methods (from 0%)
MCP + Skills + Memory (89 new):
- executor: instruction parsing, error handling
- manager: transport clone/debug, server lifecycle
- registry: tool hashing, UUID generation, search
- qdrant_matcher: construction, content hashing
- watcher: file change detection (from 0%)
- matcher: ranking, backend delegation
- semantic.rs: summarization, message count
- config.rs: all sections, 20+ env overrides
Security coverage:
- shell.rs: 96.63% -> 98.76%
- vault.rs: Secret deserialization added
Total: 586 -> 833 tests, all passing1 parent 1e1fab0 commit 537ef5d
15 files changed
Lines changed: 3986 additions & 4 deletions
File tree
- crates
- zeph-core
- src
- zeph-llm/src
- zeph-mcp/src
- zeph-memory/src
- zeph-skills
- src
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments