create_bdd_test_script
Generate BDD test scripts in Gherkin format for Zephyr Scale Cloud, validating steps and structuring scenarios with Given/When/Then syntax.
Instructions
Create a BDD test script using Gherkin format with helper validation
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": {
"testCaseKey": "<testCaseKey>"
},
"name": "create_bdd_test_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testCaseKey | Yes | Test case key (format: [A-Z]+-T[0-9]+) | |
| feature | No | Feature description for the BDD script | |
| scenario | No | Scenario description for the BDD script | |
| steps | No | Array of Gherkin steps (must start with Given/When/Then/And/But) |