feat(tester): add integration-first journey execution
This commit is contained in:
@@ -88,6 +88,23 @@ APK/IPA,为本轮创建隔离 worktree,在 Android 和 iOS tester 节点安
|
||||
|
||||
### 客户端用户旅程
|
||||
|
||||
测试用例支持两种顶层类型:`test_type: integration` 和 `test_type: journey`。集成套件
|
||||
至少包括 `api-contract`、`authorization`、`build-contract`;客户端套件仍是
|
||||
`client-smoke`、`client-regression`、`safety`。没有显式范围时默认不选择 integration。
|
||||
|
||||
执行顺序固定为 `test-preflight -> integration -> journey`。preflight 状态为 blocked 或
|
||||
environment-fail 时不创建客户端 session;integration 失败时依赖 journey 为 `not-run`。
|
||||
服务不可达是 environment-fail,契约断言错误是 integration fail,正确账号登录失败仍是
|
||||
journey fail。`tester run`/bundle 必须传入 caller 提供的 matrix:
|
||||
|
||||
```bash
|
||||
<skill-dir>/tester run --preflight-config /abs/preflight.yaml \
|
||||
--artifact android=/abs/app.apk --artifact ios=/abs/app.ipa
|
||||
```
|
||||
|
||||
没有真实 deployer、Mac 或设备时,只能使用 test-preflight 的 command-contract mock fixture
|
||||
验证协议,不能把 mock 结果写成真实运行成功。
|
||||
|
||||
客户端 E2E 用例使用 `client_suite: client-smoke | client-regression | safety`,并明确
|
||||
`journey`、`fixture`、`session`、`cleanup`、`platform`。标准生命周期是:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user