Files
jackyu66gitandCursor 2fb1dfee14 chore: seal Design Vision v1 and monorepo scaffold
Archive the differentiated YuXinGu product docs, AI engineering system,
design contract, and Go/Vue scaffold. Next execution prioritizes Cece-parity
over early innovation (see .ai/product/STRATEGY.md).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 16:00:44 +08:00

22 lines
547 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 08 测试规范
## Go`apps/api`
- 领域纯函数(计分、解码规则)必须有单元测试。
- Handler 可用 httptest 做集成测试;DB 用测试库或 docker。
- CI 最少跑:`go test ./...`
## H5
- 关键工具函数单测(Vitest,后置可加)。
- MVP 阶段:手动烟测清单写在 PR 描述(解码、量表、登录态)。
## E2E
- 正式流量前再引入 Playwright;不阻塞脚手架。
## 原则
- 测试与实现同 PR。
- 不追求虚假覆盖率;优先测钱、测档案、测计分。