create_testcase
Creates test cases in a Yunxiao DevOps test repository, including steps, preconditions, labels, and assignee details for organized test management.
Instructions
[test management] 创建测试用例
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organizationId": "<organizationId>",
"testRepoId": "<testRepoId>"
},
"name": "create_testcase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | No | 标签ids | |
| subject | No | 标题 | |
| testSteps | No | 测试步骤 | |
| assignedTo | No | 负责人userId | |
| testRepoId | Yes | 用例库唯一标识 | |
| directoryId | No | 目录id | |
| preCondition | No | 前置条件 | |
| organizationId | Yes | 组织ID | |
| customFieldValues | No | 自定义字段值 |