后端 CI 添加 cargo audit 依赖漏洞扫描,前端添加 npm audit。 在每次 PR 和 main push 时自动检测已知安全漏洞。
- TestApp struct 封装 TestDb + HealthState + tenant_id/operator_id - TestFixture 工厂方法: create_patient/create_doctor/create_schedule/create_appointment - 前端 MSW v2 handlers (auth) + server setup + vitest 集成 - vitest coverage v8 配置 + test:coverage script - GitHub Actions CI: backend (check + test + clippy) + frontend (tsc + test + build)