docs: split inbox test plans into case files
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# case: show-includes-artifacts-per-message
|
||||
|
||||
### 用例意义
|
||||
|
||||
验证 `show` 返回的每条消息都包含其关联 artifact 列表。
|
||||
|
||||
### 前置条件
|
||||
|
||||
- 线程 `THREAD_ID` 中至少一条消息附带 artifact
|
||||
|
||||
### 输入
|
||||
|
||||
```bash
|
||||
inbox --db TMPDIR/coord.db --json show --thread THREAD_ID
|
||||
```
|
||||
|
||||
### 预期输出
|
||||
|
||||
- 命令退出码为 `0`
|
||||
- 相关消息节点包含 `artifacts`
|
||||
- artifact 的 `path`、`kind`、`metadata_json` 可读
|
||||
|
||||
### 断言结论
|
||||
|
||||
- `show` 需要把附件一并展开,而不是只返回 message 基本字段
|
||||
|
||||
Reference in New Issue
Block a user