thread-master/docs/product/demand-radar/tasks/T602-integration-test-matri...

48 lines
1.1 KiB
Markdown
Raw 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.

# T602 — integration-test-matrix-spec9
> Status: `done`
> Milestone: `M6`
> Kind: `test`
> Est. change: `~200 lines`
## Goal
完成後系統應spec §9 全表SPRWSWOPTDRPCRFUSTQTPR有一份可勾選的測試矩陣主路徑全數覆蓋。
## 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
- P1P2 缺口敘述T604
## Acceptance
- [x] 每個 spec §9 ID 都能在矩陣中找到對應 test 或明確標記原因
- [x] ThreadsAI 一律走 fake
- [x] 指令:
```bash
cd apps/backend && make test-integration && go test ./... -count=1
```