Create test case
create_test_caseAdd structured test cases to QA Touch modules using exploratory, text, BDD, or step-based templates. Specify project, section, title, and required fields to capture the right test format.
Instructions
Create a test case in a module (section). template selects the style:
exploratory: no predefined stepstext: single steps text + expected_resultbdd: Gherkin feature script (featureScript required)steps: structured step list (stepsTemplate required)
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": {
"template": "<template>",
"projectKey": "<projectKey>",
"sectionKey": "<sectionKey>",
"caseTitle": "<caseTitle>"
},
"name": "create_test_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Steps text (template `text`) | |
| estimate | No | Estimate | |
| template | Yes | Test case template | |
| caseTitle | Yes | Title of the test case | |
| reference | No | Reference | |
| projectKey | Yes | Project key | |
| sectionKey | Yes | Module (section) key to create the case under | |
| description | No | Description | |
| precondition | No | Precondition | |
| featureScript | No | Gherkin feature script (template `bdd`) | |
| stepsTemplate | No | Structured steps (template `steps`) | |
| expectedResult | No | Expected result (template `text`) |