cancel
Showing results for 
Search instead for 
Did you mean: 

not able to get full content of feature file

Sujitha1
New Contributor

not able to get full content of feature file

I am following BDD approach. So I created the BDD feature (story) and I have created a multiple test for that story but while downloading the feature file am not getting full content. Am getting only the title and description 

3 REPLIES 3

Re: not able to get full content of feature file

Hi Sujatha,

 

As per the screenshots I can see that you have created normal test not BDD Scenarios (Test scenarios), so test case data is not showing in feature file

If Test issue type is having label BDD_Scenario then we will consider the test case as BDD Scenario (Gherkin editor will display), if Test doesn't have any label with name BDD_Scenario then it will be normal test cases (Manual test case you can see normal test detail section with default fields as step, data, result)

If BDD story is linked with BDD scenarios then only test detail section will be downloaded in feature file, in your case please add label BDD_Scenario to the linked test cases and retry the download feature file from Story

Thanks

Jagadeesh

Sujitha1
New Contributor

Re: not able to get full content of feature file

Hi Jagadeesh,

Thanks for your reply

 

The test you saw in screenshots is BDD scenario only with label (BDD-scenario).

The scenario become test once we created.

Sujitha1_0-1616450900105.png

Thanks 

Sujitha

 

 

DavidL
Visitor

Re: not able to get full content of feature file

Hello Sujitha,

Yes a BDD scenario is still a Zephyr test. However if you open the test details panel using the Zephyr button provided right under the feature name, you will be able to use gherkin script to add content to your scenario.

You can also add gherkin content to your scenario directly from the feature. You can find all the necessary steps here:
https://support.smartbear.com/zephyr-for-jira-cloud/docs/bdd.html#create-a-bdd-feature

Hope it helps.

New Here?
Join us and watch the welcome video: