Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,734
Community Members
 
Community Events
168
Community Groups

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

Edited

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Atlassian Community Events