32 lines
701 B
Markdown
32 lines
701 B
Markdown
# growth-loop 測試
|
||
|
||
```bash
|
||
cd apps/backend
|
||
go test ./internal/module/growth/... -count=1
|
||
go build -o bin/gateway .
|
||
go build -o bin/worker ./cmd/worker
|
||
|
||
cd apps/web
|
||
npm run build
|
||
```
|
||
|
||
## Spec §9 覆蓋(usecase 測試)
|
||
|
||
| ID | Test |
|
||
|----|------|
|
||
| OC-01 | TestOC_01_CreateOnPublished |
|
||
| OC-02/03 | TestOC_02_03_ApplySignals |
|
||
| OC-04/05 | TestOC_04_05_Conversion |
|
||
| OC-08 | TestOC_08_DegradedStillWorks |
|
||
| CU-* | TestCU_01_02_03_GenerateCheckup |
|
||
| AH-* | TestAH_01_03_HealthGate |
|
||
| IR-* | TestIR_01_03_InviteReward |
|
||
| WS-* | TestWS_01_02_Workspace, TestWS_03_04_ReviewGate, TestWS_05_ExportReport |
|
||
|
||
## 遷移
|
||
|
||
```bash
|
||
cd apps/backend && make migrate-up
|
||
# 000013_growth_loop_indexes
|
||
```
|