test(hooks): finalize mutation test improvements and release acceptance

- Raise use-swipe-gesture mutation score to 66.13% (target 65%+)
- Maintain use-reduced-motion mutation score at 76.32% (target 50%+)
- Fix use-reduced-motion.ts ESLint set-state-in-effect warning
- Add UJ-10 deep searcher journey (category browse → article read → content discovery)
- Add 40 new test files (analytics, detail, sections, ui, lib components)
- Update test-strategy-plan.md to v2.0 (sync test count to 1591)
- Sync README.md with final release metrics

Quality gates: TS 0 errors, ESLint 0 errors, 121 suites / 1591 tests passed
This commit is contained in:
2026-08-02 19:39:27 +08:00
parent 7c0af54897
commit 602ed6a671
203 changed files with 8338 additions and 81 deletions
+7
View File
@@ -38,6 +38,13 @@
- 变异测试 use-focus-trap.ts 42.62% → 85.25%(超 50% 目标)
- 调试文件清理(__debug.test.tsx 删除)
- 测试债务追踪板同步更新,变异测试缺口已解决
- 2026-08: **最终封版迭代** — test-strategy-plan.md 版本 2.0,达到封版上线标准
- 121 测试套件 / 1591 条测试全部通过,TypeScript 0 errorsESLint 0 errors
- 变异测试 use-swipe-gesture.tsx 64.78% → 66.13%(超 65% 目标)
- 变异测试 use-reduced-motion.ts 稳定在 76.32%(超 50% 阈值)
- 修复 use-reduced-motion.ts ESLint 错误(set-state-in-effect
- 新增 UJ-10 深度搜索者旅程(分类浏览 → 逐篇阅读 → 内容发现)
- 测试债务追踪板同步更新,UJ-10 已解决,UJ-03/06/07 标记为环境依赖
## 项目进度