48 lines
1.1 KiB
Markdown
48 lines
1.1 KiB
Markdown
|
|
# T602 — integration-test-matrix-spec9
|
|||
|
|
|
|||
|
|
> Status: `done`
|
|||
|
|
> Milestone: `M6`
|
|||
|
|
> Kind: `test`
|
|||
|
|
> Est. change: `~200 lines`
|
|||
|
|
|
|||
|
|
## Goal
|
|||
|
|
|
|||
|
|
完成後系統應:spec §9 全表(SP/RW/SW/OP/TD/RP/CR/FU/ST/QT/PR)有一份可勾選的測試矩陣,主路徑全數覆蓋。
|
|||
|
|
|
|||
|
|
## Depends on
|
|||
|
|
|
|||
|
|
- T592、T600
|
|||
|
|
|
|||
|
|
## Inputs
|
|||
|
|
|
|||
|
|
- Spec:`../spec.md` §9 全表
|
|||
|
|
- 既有:`docs/product/growth-loop/TESTING.md`(格式參考)、`make test-integration`
|
|||
|
|
|
|||
|
|
## Outputs
|
|||
|
|
|
|||
|
|
### 程式變更(預期路徑)
|
|||
|
|
|
|||
|
|
| 路徑 | 動作 | 說明 |
|
|||
|
|
|------|------|------|
|
|||
|
|
| `apps/backend/internal/testkit/radar_matrix_test.go` | add | 把各 M 的測試對映到 spec ID,缺口以 skip+原因標記 |
|
|||
|
|
| `docs/product/demand-radar/TESTING.md` | add | ID → test 名稱 → 狀態對照表 |
|
|||
|
|
|
|||
|
|
### 行為變更
|
|||
|
|
|
|||
|
|
- 無(測試與文件)。
|
|||
|
|
|
|||
|
|
## Out of scope
|
|||
|
|
|
|||
|
|
- 回歸項(T603)
|
|||
|
|
- P1/P2 缺口敘述(T604)
|
|||
|
|
|
|||
|
|
## Acceptance
|
|||
|
|
|
|||
|
|
- [x] 每個 spec §9 ID 都能在矩陣中找到對應 test 或明確標記原因
|
|||
|
|
- [x] Threads/AI 一律走 fake
|
|||
|
|
- [x] 指令:
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
cd apps/backend && make test-integration && go test ./... -count=1
|
|||
|
|
```
|