Reorganize the flat tests/ directory into a structured taxonomy: - component/ (174 tests): single-subsystem tests - integration/ (65 tests): multi-component wiring tests - system/ (5 tests): full-stack with real SQLite memory - live/ (5 tests, #[ignore]): real external API tests - manual/: shell/Python scripts for human-driven testing - support/: shared mock infrastructure (MockProvider, EchoTool, etc.) - fixtures/: JSON trace fixtures for declarative LLM replay Deduplicates ~180 lines of identical mock code from agent_e2e.rs and agent_loop_robustness.rs into shared support modules. Adds new component tests for gateway (HMAC signature verification) and security (config defaults, TOML round-trips). Adds system-level tests exercising the full agent turn cycle with real SQLite memory. Updates Cargo.toml with [[test]] entries, dev/ci.sh with level-specific commands, and docs/contributing/testing.md with a comprehensive testing guide. Zero impact on src/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| actions-source-policy.md | ||
| adding-boards-and-tools.md | ||
| cargo-slicer-speedup.md | ||
| change-playbooks.md | ||
| ci-map.md | ||
| cla.md | ||
| custom-providers.md | ||
| doc-template.md | ||
| docs-contract.md | ||
| extension-examples.md | ||
| langgraph-integration.md | ||
| pr-discipline.md | ||
| pr-workflow.md | ||
| README.md | ||
| release-process.md | ||
| reviewer-playbook.md | ||
| testing-telegram.md | ||
| testing.md | ||
Contributing, Review, and CI Docs
For contributors, reviewers, and maintainers.
Core Policies
- Contribution guide: ../../CONTRIBUTING.md
- PR workflow rules: ./pr-workflow.md
- Reviewer playbook: ./reviewer-playbook.md
- CI map and ownership: ./ci-map.md
- Actions source policy: ./actions-source-policy.md
- Extension examples: ./extension-examples.md
- Testing guide: ./testing.md
Suggested Reading Order
CONTRIBUTING.mdpr-workflow.mdreviewer-playbook.mdci-map.md