docs: split inbox test plans into case files
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Case: `reply-supports-control-kind`
|
||||
|
||||
## 用例意义
|
||||
|
||||
验证 `reply --kind control` 可以发送控制类消息,而不局限于默认 `answer`。
|
||||
|
||||
## 前置条件
|
||||
|
||||
- 已存在一个非终态线程 `THREAD_ID`
|
||||
|
||||
## 输入
|
||||
|
||||
```bash
|
||||
inbox --db TMPDIR/coord.db --json reply --from leader --to worker-a --thread THREAD_ID --kind control --summary "Pause rollout" --body "Pause rollout until QA confirms the fix."
|
||||
```
|
||||
|
||||
## 预期输出
|
||||
|
||||
- 命令退出码为 `0`
|
||||
- `message.kind == "control"`
|
||||
|
||||
## 断言结论
|
||||
|
||||
- `reply` 的消息种类可由调用方显式指定
|
||||
|
||||
Reference in New Issue
Block a user