# 테스트 체계 지표 — 2026-11-13 > `node scripts/ci/test-metrics.mjs --write` 로 생성된다. 손으로 고치지 않는다. > 정책: `docs/tdd-red/07-revamp-plan.md` §3-2 (지표는 게이트가 아니다) ## 합계 | 항목 | 값 | |---|---| | 테스트 파일 | 422 | | 테스트 케이스 | 3558 | | 단정(expect/assert) | 9224 | | 약한 단정 (toBeDefined/toBeTruthy/toBeFalsy/toBeNull) | 128 | | 시간·난수 직접 호출 (ambient) | 203 | | skip/todo | 3 | | i18n 로케일 파일 | 12 | | i18n 키 (ko 기준) | 2500 | ## 스위트별 | 스위트 | 파일 | 케이스 | 단정 | 약한 단정 | ambient | |---|---:|---:|---:|---:|---:| | 데스크톱 (Vitest) | 218 | 2100 | 5264 | 88 | 164 | | packages/core (Vitest) | 38 | 560 | 1294 | 14 | 3 | | packages/i18n (Vitest) | 1 | 4 | 13 | 0 | 0 | | packages/ui (Vitest) | 1 | 4 | 19 | 0 | 0 | | packages/api-client (Vitest) | 4 | 31 | 47 | 3 | 0 | | 웹 (Vitest + Playwright) | 11 | 54 | 229 | 9 | 5 | | 모바일 (Jest) | 97 | 515 | 1632 | 14 | 24 | | Supabase Edge (Deno) | 44 | 263 | 637 | 0 | 7 | | Cloudflare Worker (Deno) | 1 | 5 | 22 | 0 | 0 | | API 서버 (xUnit) | 7 | 22 | 67 | 0 | 0 | ## 약한 단정 상위 파일 | 파일 | 개수 | |---|---:| | `packages/core/__tests__/keybinding.test.ts` | 10 | | `apps/mobile-rn/__tests__/auth-privacy-boundary.test.tsx` | 9 | | `apps/desktop/tests/main/services/input-telemetry-stale-snapshot.test.ts` | 8 | | `apps/web/e2e/dashboard-dictionary-commands.spec.ts` | 7 | | `apps/desktop/tests/unit/stt-model-download-redteam-r3-24.test.ts` | 6 | | `apps/desktop/tests/main/sync/cloud-credentials-redteam-r3-1.test.ts` | 5 | | `apps/desktop/tests/red/history.usecase.test.ts` | 5 | | `apps/desktop/tests/red/ads/ads-mediation.test.ts` | 4 | | `apps/desktop/tests/main/services/CustomInstructionService.test.ts` | 3 | | `apps/desktop/tests/unit/AdMediationEngine.test.ts` | 3 | | `packages/core/__tests__/typo-correction.test.ts` | 3 | | `apps/desktop/tests/main/services/DictionaryService.test.ts` | 2 | | `apps/desktop/tests/main/services/HistoryService.test.ts` | 2 | | `apps/desktop/tests/main/services/KeyBindingService.test.ts` | 2 | | `apps/desktop/tests/main/services/i18n-locale-parity.test.ts` | 2 | ## ambient 시간·난수 상위 파일 | 파일 | 개수 | |---|---:| | `apps/desktop/tests/main/services/suggestion-redteam-r1-1.test.ts` | 11 | | `apps/desktop/tests/integration/cross-device-sync.supabase.test.ts` | 10 | | `apps/desktop/tests/main/sync/SyncEngine.test.ts` | 10 | | `apps/desktop/tests/red/crypto-license.usecase.test.ts` | 8 | | `server/supabase/functions/_shared/admob-ssv.test.ts` | 7 | | `apps/desktop/tests/main/services/input-flow-services.test.ts` | 6 | | `apps/desktop/tests/main/services/modifier-state.test.ts` | 6 | | `apps/desktop/tests/main/services/suggestion-redteam-r2-3.test.ts` | 6 | | `apps/desktop/tests/main/services/suggestion-redteam-r3-1.test.ts` | 6 | | `apps/desktop/tests/red/meeting-recording-redteam-r2-1.test.ts` | 6 | | `apps/mobile-rn/__tests__/templates-memos.local.integration.mjs` | 6 | | `apps/desktop/tests/main/services/input-telemetry-focus-flicker.test.ts` | 5 | | `apps/mobile-rn/__tests__/admin-mobile.local.e2e.mjs` | 5 | | `apps/desktop/tests/eval/suggestion-replay.eval.test.ts` | 4 | | `apps/desktop/tests/main/services/KeyBindingService.test.ts` | 4 |