Unit Test
unit-test 是 project-aware unit testing guide,用於寫測試、修測試、review test quality, 或在 engineering 中執行 TDD。
Contract
測試要驗證真實行為,不用 mock-only assertions 製造假綠燈。明確 TDD 時採 red / green / refactor;一般補測試時仍要先確認現有 framework、local patterns、test command。
Reference Loading
| Situation | Load | |---|---| | Any run | unit-test-detection-tdd-flow.md, tdd-smart-judgment.md | | Jest / Vitest / Vue examples | unit-test-framework-patterns.md | | Coverage / test quality review | `unit-test-str
[Description truncada. Veja o README completo no GitHub.]