Test Results
Updated on 2026-03-03 — Hub + Swarm architecture complete. morphee-core: 600 tests with rl-policy (547 unit + 52 integration + 1 doc), 714 with fractal-brain (661 unit + 52 integration + 1 doc, includes 233 brain module tests across 26 files). morphee-server: 153 tests (71 unit + 82 integration). bench-cli: 288 tests (includes 23 brain integration + 35 brain telemetry + 4 runner_client tests).
Frontend (Vitest)
- 3,465 tests across 155 test files
| Metric | Coverage |
|---|---|
| Statements | 80.20% |
| Branches | 74.78% |
| Functions | 81.81% |
| Lines | 81.62% |
Rust Crates (cargo test)
- morphee-core: 547 unit + 52 integration + 1 doc = 600 tests (with rl-policy); 661 unit + 52 integration + 1 doc = 714 tests (with fractal-brain, includes 233 brain module tests across 26 files)
- morphee-server: 71 unit + 82 integration = 153 tests
- bench-cli: 288 tests (study_store, optimizer, profile, pipeline, dashboard, neuron_recall, brain_integration, brain_telemetry, runner_client)
- Tauri desktop: 165 tests (IPC commands, embeddings, LLM, git, vault, vector, extensions)
- Tauri mobile-ml: 9 tests
Frontend E2E (Playwright)
- 66 tests across 9 spec files (62 passed, 4 skipped)
Summary
| Layer | Tests | Coverage |
|---|---|---|
| morphee-core (cargo) | 600 / 714 | — |
| morphee-server (cargo) | 153 | — |
| bench-cli (cargo) | 288 | — |
| Tauri desktop (cargo) | 165 | — |
| Tauri mobile-ml (cargo) | 9 | — |
| Frontend unit (Vitest) | 3,465 | ~81% |
| Frontend E2E (Playwright) | 66 | — |
| Total | 4,860 |