fix(tester): discover catalogs in subprojects

This commit is contained in:
2026-10-14 09:26:39 +08:00
parent 95946d4278
commit f8e490e9b5
4 changed files with 108 additions and 7 deletions
+3 -1
View File
@@ -13,7 +13,9 @@
## 使用前准备
- 目录在项目根的 `.pouch/tester/`。没有就说「初始化 tester」。
- 目录在目标测试项目根的 `.pouch/tester/`。父仓库和 `app` 等 Git submodule 可以各自有
catalog;先运行 `catalog.py roots --root <repo-root>` 发现它们,不要把两个项目的 cases 合并。
没有任何 catalog 才说「初始化 tester」。
- 跑真实环境前,复制 `.pouch/tester/local.yaml.example` 为 `local.yaml`;模板默认
`HOST: "127.0.0.1"`。如果目标不是本机,显式改成目标地址。也可以用环境变量
`HX_TEST_HOST` 覆盖。