Files
.pouch/skills/tester/references/test-bundle.md
T
laily 5fef8247fc feat(tester): require caller artifact locators instead of --release
Mobile runs now take --artifact android|ios=<path-or-url> from the caller
and create a fresh isolated worktree each time. Drop CI release/manifest
lookup.
2026-10-15 01:05:09 +08:00

987 B

移动产物准备

调用方必须给出每个目标平台的产物位置:本地文件或可下载 URL。tester 不从 CI release、builder 绑定或本机旧文件猜测产物。

<skill-dir>/tester run \
  --artifact android=<path-or-url> \
  --artifact ios=<path-or-url> \
  --platform android,ios

URL 就下载,本地文件就直接用。每个平台都在自己的 tester.<platform> 节点校验身份并安装, 随后由现有 tester catalog 驱动真实移动 session。默认先完成 Android+iOS 双平台 preflight;任一平台无法准备时整轮停止。只有显式加 --partial 才允许运行可用平台。

每轮另外创建隔离 Git worktree,不切用户当前分支。--commit 缺省为当前 HEAD。

运行记录写入目标项目 .pouch/tester/runs/,包含产物位置、sha256、身份、实际 worktree commit、节点、安装证据和 terminal 生命周期;automatic-repair-failed 与产品测试失败分开记录。