File tree Expand file tree Collapse file tree
.claude/board/sprint-log/agents Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Agent W11 — medcare-realtime/tests/integration.rs
2+
3+ ** Round:** 3 (Stage 3)
4+ ** Owner:** crates/medcare-realtime/tests/integration.rs (7 tests)
5+ ** Commit:** medcare-rs ` cec95f5 `
6+ ** Status:** ✅ committed
7+
8+ ## Action
9+
10+ Integration tests living outside lib.rs (the ` tests/ ` directory in
11+ Cargo treats each .rs file as a separate test crate, exercising only
12+ the public API). 7 tests covering gate × stack composition.
13+
14+ ## Coverage
15+
16+ | Test | Verifies |
17+ | ---| ---|
18+ | stack_and_gate_compose | smoke test for canonical wiring |
19+ | doctor_gate_full_clinical_authority | doctor reads all 6 entities (loop) |
20+ | auditor_gate_read_only_across_entities | auditor split, all 6 entities (loop) |
21+ | unknown_role_uniformly_denied | unknown role denial, all 6 entities (loop) |
22+ | admin_gate_full_authority_including_anamnese_redact | GDPR Art.17 path |
23+ | doctor_anamnese_predicate_write_denied_via_gate | BMV-Ä §57 (loop over 4 predicates) |
24+ | stack_clone_is_cheap | clone preserves domain_profile |
25+
26+ ## Self-review
27+
28+ - ✅ Loop-over-entity tests catch regressions on missing permissions
29+ - ✅ All public-API symbols imported via ` medcare_realtime::* ` (no
30+ back-channel into internal modules)
31+ - ⚠️ No performance test for the 20-200 ns claim — defer to bench harness
You can’t perform that action at this time.
0 commit comments