test(ECR-009): 补页面/API 路由冒烟与 TEST_REPORT

交付前缺 Flask 常驻与路由断言;现补齐 pytest 与报告。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-07 16:03:37 +08:00
co-authored by Cursor
parent 9880e236a5
commit 0f6eb92a1f
2 changed files with 73 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# TEST_REPORT — ECR-009
**Date:** 2026-08-07
## Commands
```bash
PYTHONPATH=. python -m pytest tests/test_crypto_wyckoff_decision.py -q
CRYPTO_WYCKOFF_DISABLE=1 PYTHONPATH=.:web python -m pytest web/tests/test_wyckoff_crypto_routes.py -q
# Manual / live:
# cd web && CRYPTO_WYCKOFF_MAX_SYMBOLS=5 PYTHONPATH=..:. python app.py
# curl -I http://127.0.0.1:8128/wyckoff_crypto
```
## Result
| Check | Result |
|-------|--------|
| Decision gate unit | 2 passed |
| Route page/meta/scan | 补测(本文件) |
| Live HTTP 2026-08-07 | `GET /wyckoff_crypto` → 200(需先启动 web |
## Note
此前冒烟只做了引擎 tick,**未**在交付前保持 Flask 常驻并给浏览器 URL——属 ESS 测试缺口,已补路由测试与本报告。