feat(tester): add integration-first journey execution
This commit is contained in:
@@ -148,6 +148,27 @@ python3 <skill-dir>/scripts/catalog.py show --root <project-root> --id <CASE_ID>
|
||||
|
||||
### 客户端用户旅程标准
|
||||
|
||||
### 双层测试与执行顺序
|
||||
|
||||
用例顶层类型是 `test_type: integration | journey`。旧目录没有该字段时保持兼容:已有
|
||||
`client_suite`/`journey` 视为 journey,已有 `integration_suite` 视为 integration。集成
|
||||
套件至少包括 `api-contract`、`authorization`、`build-contract`;旅程套件仍固定为
|
||||
`client-smoke`、`client-regression`、`safety`。集成用例不需要客户端 session、platform
|
||||
或 journey 字段,不能被客户端套件选中。
|
||||
|
||||
一次运行严格遵守:
|
||||
|
||||
```text
|
||||
test-preflight (blocked/environment-fail -> 不创建 session)
|
||||
-> integration
|
||||
-> journey (integration fail -> not-run,不创建 session)
|
||||
```
|
||||
|
||||
`test-preflight` 的报告是环境证据,不计入 testcase 总数。服务不可达记
|
||||
`environment-fail`;服务已达但契约断言错误记 integration `fail`;正确测试账号登录失败
|
||||
仍记 journey `fail`。tester 的 `run`/bundle 入口必须接收 caller 提供的 preflight matrix,
|
||||
没有 matrix 不得绕过闸门或伪造成功。
|
||||
|
||||
声明 `client_suite`(迁移期也接受 `suite`)的用例采用固定的三套客户端集合:
|
||||
`client-smoke`、`client-regression`、`safety`。前两者分别覆盖最短只读主路径和隔离测试
|
||||
环境中的普通用户回归;`safety` 覆盖危险/权限边界场景,必须显式选择和授权,不能被
|
||||
|
||||
Reference in New Issue
Block a user