TestCase

Export a BDD test case as a Gherkin feature file

Synthesizes a Gherkin .feature file from a test case using the BDD template: the test case title becomes the feature name and the stored scenarios are emitted verbatim. A feature header already present in the scenarios is kept as-is.

get/testcase/bdd-feature-file/{id}

Request

Path parameters

idinteger required

The id of the BDD test case to export

Query parameters

langstring

Gherkin dialect to synthesize the feature header with - defaults to the dialect stored in the document

linkboolean

If true, the synthesized feature file will contain links to the test case - defaults to false

Response

Returns 'FeatureFileResult'

string required

The synthesized Gherkin feature file

Changes

No recorded changes to this operation across all 1 revision of this API.