thread-master/docs/product/demand-radar/tasks/T576-test-m4-crm-conversion...

46 lines
1.0 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.

# T576 — test-m4-crm-conversion-integration
> Status: `done`
> Milestone: `M4`
> Kind: `test`
> Est. change: `~200 lines`
## Goal
完成後系統應CR-01CR-09 有整合測試且既有成果歸因回歸RG-03通過。
## Depends on
- T571、T573
## Inputs
- Spec`../spec.md` §9.4、§9.6RG-03
## Outputs
### 程式變更(預期路徑)
| 路徑 | 動作 | 說明 |
|------|------|------|
| `apps/backend/internal/logic/crm/m4_integration_test.go` | add | accept→階段→merge→成交→改刪 全鏈路 |
| `apps/backend/internal/module/growth/**_test.go` | edit | radar 成交併入既有彙總的斷言 |
### 行為變更
- 無(測試)。
## Out of scope
- FollowUp 與統計T592
## Acceptance
- [x] 九個 CR ID 各有具名 test case
- [x] RG-03既有成果卡數字在加入 radar 成交後仍正確彙總
- [x] 指令:
```bash
cd apps/backend && go test ./internal/logic/crm/... ./internal/module/crm/... ./internal/module/growth/... -count=1 && make test-integration
```