generate_bdd_template
Creates a BDD test template for new test cases, providing a structured starting point with a given test case name and optional description.
Instructions
Generate a BDD test template that can be used as a starting point for creating new BDD-style test cases.
Args: test_case_name: Name of the test case test_description: Description for the BDD feature (recommended)
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": {
"test_case_name": "<test_case_name>"
},
"name": "generate_bdd_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_case_name | Yes | ||
| test_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Summary of what was generated | |
| feature_template | Yes | Content for test.feature with Gherkin Background and Scenario sections | |
| test_py_template | Yes | Content for test.py with BDD boilerplate (source, setupHooks, etc.) | |
| step_definitions_template | Yes | Content for step definitions Python file |