thread-master/docs/product/demand-radar/tasks/T592-test-m5-followup-stats...

1009 B
Raw Blame History

T592 — test-m5-followup-stats-integration

Status: done
Milestone: M5
Kind: test
Est. change: ~180 lines

Goal

完成後系統應FU-01FU-04、ST-01ST-03、QT-03 有整合測試把關。

Depends on

  • T588、T589、T590

Inputs

  • Spec../spec.md §9.4FU、§9.5

Outputs

程式變更(預期路徑)

路徑 動作 說明
apps/backend/internal/module/crm/m5_integration_test.go add followup 建立→掃描→通知→escalate→snoozedone
apps/backend/internal/logic/crm/stats_integration_test.go add 三維度與樣本門檻

行為變更

  • 無(測試)。

Out of scope

  • 橋接與全表回歸T602T603

Acceptance

  • 八個 ID 各有具名 test case
  • 時間相關測試以可注入的時鐘控制,不用 sleep
  • 指令:
cd apps/backend && go test ./internal/module/crm/... ./internal/logic/crm/... -count=1 && make test-integration