thread-master/docs/product/demand-radar/tasks/T554-test-m3-today-reply-in...

47 lines
963 B
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.

# T554 — test-m3-today-reply-integration
> Status: `done`
> Milestone: `M3`
> Kind: `test`
> Est. change: `~200 lines`
## Goal
完成後系統應TD-01TD-02、RP-01RP-05 有整合測試,且 AccountHealth throttle 回歸不破。
## Depends on
- T547、T550
## Inputs
- Spec`../spec.md` §9.3、§9.6RG-02
## Outputs
### 程式變更(預期路徑)
| 路徑 | 動作 | 說明 |
|------|------|------|
| `apps/backend/internal/logic/radar/m3_integration_test.go` | add | todayrepliessend 全鏈路 |
| `apps/web/src/pages/RadarTodayPage.test.tsx` | add | 空狀態六種原因與分組收合的元件測試 |
### 行為變更
- 無(測試)。
## Out of scope
- CRMT576
## Acceptance
- [x] 七個後端 ID 各有具名 test case
- [x] 前端空狀態測試涵蓋所有 `empty_reason`
- [x] 指令:
```bash
cd apps/backend && go test ./internal/logic/radar/... -count=1
cd apps/web && npm run test
```