feat(testmanagement): add optional test_case_bdd field for BDD/Gherkin template support - #225
Conversation
…n template support Add test_case_bdd as an optional parameter to createTestCase and updateTestCase. When provided, the BDD fields (feature, scenario, background) are flattened into the API body with template set to test_case_bdd. Fully backwards-compatible — no existing fields or behavior changed.
|
Hit this gap in practice today: Confirmed the underlying This has been open ~7 months and just went stale ( |
|
Opened #392 to track the underlying problem this PR fixes, since I couldn't find an existing issue for it — just linking them together. |
Summary
Adds an optional
test_case_bddparameter tocreateTestCaseandupdateTestCasetools, enabling BDD/Gherkin template support.Changes
test_case_bddto interface, Zod schema, and function bodyHow it works
When
test_case_bddis provided (withfeature,scenario, and optionalbackground), the fields are flattened into the API body withtemplate: "test_case_bdd". When omitted, behavior is 100% unchanged.