The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Want to create separate feature file per Test or Test set or Test Plan

Satheesh Kumar Kancharla
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 20, 2022

Hi Team, 

We are using Jira with X-ray API. we have created all tests/Test sets with cucumber and filtered them with filter key.

 

When I am trying to export the tests as cucumber we are getting all Tests/Test Sets/Test Plans we are getting single feature file. But, I wanted to have separate feature file per Test/Test Plan/Test Set.

 

All My 4 tests created in a single feature file Like this:

Feature:

#Test
@test_test-44222 @TESTSET_TEST-44224 @TESTSET_TEST-44225
Scenario: [Test-Sath] - Xray
Given A
When B
Then C
@test_test-44223 @TESTSET_TEST-44224 @TESTSET_TEST-44225
Scenario: [Test-Sath] - Xray2
Given I
When J
Then K
@test_test-44231
Scenario: [Test-Sath] - Xray3
Given abc
When xyz
Then nn
@test_test-44232
Scenario: [Test-Sath] - Xray4
Given p
When q
Then r

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events