addBdd
Adds a BDD test case to TestRail by importing a Gherkin .feature file into a specified section. Populates the BDD scenario field.
Instructions
Imports/uploads a .feature file (Gherkin BDD scenario) into a TestRail section. Creates a new test case with BDD template (template_id=4) and populates the custom_testrail_bdd_scenario field. REQUIRED: sectionId, featureContent (raw Gherkin text including Feature:, Scenario:, Given/When/Then).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sectionId | Yes | TestRail Section ID where the BDD case will be created | |
| featureContent | Yes | Raw Gherkin .feature file content (plain text) |