---
title: "Test Set"
canonical: "https://docs.getxray.app/space/XRAYCLOUD/44565163/Test%20Set"
format: markdown
---
> Macro (ui-expand)
> 
> > Macro (toc)

# Introduction

A Test Set is a collection of Tests. It often contains detailed instructions or goals as well as information on the configuration to be used during Testing.

Test Sets are simple, flat lists of Tests that you can use as a basis for creating [Test Execution](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565117) or [Test Plans](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565153). Since the Tests are grouped in a logical way, such as organizing all Tests related to regression testing or security, or all Tests for a specific component or some high-level feature/business case, a Test can be part of different Test Sets. Test Sets can also be used as a dynamic way to cover requirements.

# Operations

## Creating a New Test Set

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> On the top menu of your Jira Cloud instance, click *Create* (Figure 1 - 6). The *Create Issue* modal will open (Figure 1).
> 
> ![Figure 1 - Test Set](media://bbe1ba38-23e0-45a1-85f8-cc328c308728)
> 
> > Macro (rw-step)
> 
> Select the *Space* (Figure 1 - 1; mandatory field) and for the *Work type***,** pick *Test Set* (Figure 1 - 2; mandatory field).
> 
> > Macro (rw-step)
> 
> Enter a *Summary* (Figure 1 - 3; mandatory field) and, if you wish, complete the remaining fields.
> 
> > Macro (rw-step)
> 
> Once finished, click *Create* (Figure 1 - 5). If you enable the *Create another* option (Figure 1 - 4), a new *Create* modal will appear, pre-populated with your previous Test Set details, except for the *Summary* field, which will be blank.

## Editing a Test Set

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> In your Jira Cloud instance, go to the Space with the Test Set you wish to edit.
> 
> On the left side menu, click *Filters* (Figure 2 - 1), and then select *View all work items* (Figure 2 - 2).
> 
> ![Figure 2 - Filters](media://636d97e2-a1a5-4870-8895-2ae199c55d23)
> 
> > Macro (rw-step)
> 
> Click *Type* (Figure 2 - 3) and select *Test Set *(Figure 2 - 4).
> 
> > Macro (rw-step)
> 
> A list of Test Sets will appear. Click the Test Set you want to edit (Figure 2 - 5).
> 
> > Macro (rw-step)
> 
> The Test Set opens (Figure 3).
> 
> ![Figure 3 - Test set](media://022c7f21-0d83-456a-8d95-aebea81b4b29)
> 
> When editing a Test set (Figure 3), you can do the following:
> 
> - Change the title (Figure 3 - 1).
> - Add attachments, subtasks, link Work items, Tests, etc. (Figure 3 - 2).
> - Change the description (Figure 3 - 3).
> - Add new/existing Test (Figure 3 - 4).
> - Apply filters (Figure 3 - 5).
> - Edit the details (Figure 3 - 6): assignee, reporter, labels, etc.
> - Edit more fields (Figure 3 - 7): original estimate, time tracking, components, etc.
> - Move, clone, delete the Work item, and more by clicking the ellipsis button (Figure 3 - 8). Place the cursor over the field to edit, click it, and then click the check symbol to save the changes.

## Cloning a Test Set

> ℹ️ When cloning a Test Set Work item, all the Test Work item associations will also be cloned.

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> Go to the Test Set you want to clone. Click the ellipsis button (Figure 4 - 1) and then select *Clone* (Figure 4 - 2).
> 
> ![Figure 4 - Clone](media://dec203a6-4583-45d2-9b83-eebf7ab4b4b7)
> 
> > Macro (rw-step)
> 
> A modal will open for you to proceed (Figure 5). Click *Clone* to confirm (Figure 5 - 1).
> 
> ![Figure 5 - Modal](media://c5cdedd6-82a0-4870-9b07-1a1f2ea4a088)
> 
> > Macro (rw-step)
> 
> And after the cloned Work item is created, its page will be opened.
> 
> On some occasions, the cloned Work item screen may open before the Xray information is cloned and, as a result, the new Test will appear empty. When this happens, you will be notified.

## Configuring Test Columns

Xray allows you to configure the columns for the Tests table (Figure 6). This configuration is specific to each user and can be restored to the default settings defined on the [Default Column Layouts](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44568532) page in the Xray app Space settings.

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> Go to the Test Set Work item where you want to configure the columns and click *Columns* (Figure 6 - 4).
> 
> ![Figure 6 - Columns.png](media://a0532908-70e3-494d-8362-c33b1ee954bf)
> 
> > Macro (rw-step)
> 
> Click *Done* when finished or *Cancel* to abort this operation (Figure 6 - 2). The table refreshes with the configured columns.

### Restoring Columns to Default Configuration

Repeat the *Configuring Test Columns* process, except in the last step, click the *Restore Defaults* option (Figure 6 - 3).

### Changing the Columns Order

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> Go to the Test Set Work item containing the columns you want to reorder.
> 
> > Macro (rw-step)
> 
> Hover over the 8-dotted icon (Figure 6 - 5) on the column header you want to reorder and drag it to the desired position.

## Associating Tests with Test Set

Associating a Test Set with an existing or new Test in Xray allows you to:

- Reuse Tests across multiple Test Sets, saving time.
- Maintain consistency with the same Test version.
- Easily track usage for impact analysis.
- Simplify updates, as changes apply to all associated sets.
- Enhance coverage analysis across projects.

This streamlines Testing and ensures uniformity.

### From the Test Set Work Item View Screen

#### Creating a New Test

To create a new Test directly associated with the current Test Set from the Test Set Work item view screen:

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> Go to the Test Set Work item you want to associate with a new Test.
> 
> > Macro (rw-step)
> 
> Click the *Add Tests* (Figure 7 - 1) button and select *New Test *(Figure 7 - 2). The *Create Work item* modal will open (Figure 8).
> 
> ![Figure 7 - New test](media://bdc147c3-cb62-48e1-a407-5e55264b9c27)
> 
> > Macro (rw-step)
> 
> ![Figure 8 - Modal.png](media://55c04a98-0716-4cc4-90b2-23907b95ae2d)
> 
> In the Create Work item modal (Figure 8), you can:
> 
> - Fill in the fields (Figure 8 - 1; 2; 3; 4; 5).
> - Import Work items (Figure 8 - 8).
> - Configure fields (Figure 8 - 9).
> - Create another Work item (Figure 8 - 6).
> 
> > Macro (rw-step)
> 
> Once you're done, click the *Create* button (Figure 8 - 7).


#### Using an Existing Test

To associate existing Tests with a Test Set from the Test Set Work item view screen:

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> Go to the Test Set Work item you want to associate with an existing Test.
> 
> > Macro (rw-step)
> 
> Click the *Add Tests* (Figure 9 - 1) button and select *Existing Tests *(Figure 9 - 2). The *Add Tests* modal will open (Figure 10).
> 
> ![Figure 9 - Test](media://0ecdacf6-edd4-483e-adbf-80a5c6f0de37)
> 
> > Macro (rw-step)
> 
> In the *Add Tests* modal (Figure 12), see the options below:
> 
> ![Figure 10 - Select](media://2f36c40c-ac87-40a9-ba7e-f078a73239bb)
> 
> Under the *Select* tab (Figure 10 - 1):
> 
> - Input the desired Test Issue key in the *Tests* field (Figure 10 - 4).
> - Click the d*own arrow icon* on the Tests field and select the Test from the history search list (Figure 10 - 6).

#### Searching for Tests to Associate

Under the *Search* tab (Figure 10 - 2):

- Select the desired Project (Figure 11 - 1)** **and any other desired field, such as *Test Type, Contains, Label, Fix Version, Component, Covering, Covering Fix Version, Saved Filters,*** **and** ***Workflow Status *(Figure 11 - 2).
- Click the *Search* button (Figure 11 - 3) after filling in the browse fields to get a list of matching entries.

![Figure 11 - Search](media://a518bc15-8a5e-4956-9f15-65c96fc3a930)

#### Using JQL to Search for Tests

Under the *JQL* tab (Figure 12 - 1):

- Write the desired <u>[JQL](https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-764478330.html)</u> search (Figure 12 - 2).
- Click the *Search* button (Figure 12 - 3) to perform the JQL** **search and get a list of the matching entries.

![Figure 12 - JQL](media://886a0ebe-d91c-4c2d-8089-6fc4e7b92765)


Once you're finished, for any of the cases, click the *Add Selected* button (Figures 11 - 5; Figure 11 - 4; Figure 12 - 4).


## Bulk Operations - Removing Tests

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> Go to the Test Set Work item containing the Tests you want to bulk-delete.
> 
> > Macro (rw-step)
> 
> Click the checkbox and choose the best option for bulk selection: *All* or *Current Page* (Figure 13 - 1). The *Select* button will appear (Figure 13 - 2).
> 
> ![Figure 13 - Bulk removal](media://396b0c34-11a6-444f-ac09-74cc5b64e446)
> 
> > Macro (rw-step)
> 
> Click the *Selected* button (Figure 14 - 1) and then click *Remove *(Figure 14 - 2).
> 
> ![Figure 14 - Remove](media://587e6d53-6dab-4e07-aa3b-dae33bb16c49)
> 
> > Macro (rw-step)
> 
> A modal will open for you to confirm the bulk removal of the Work items (Figure 15 - 1).
> 
> ![Figure 15 - Modal](media://6e29d1f5-5c2d-40e0-9775-8bea7cbba5f7)

## Exporting to Cucumber

Cucumber Test Sets in Jira can be exported to feature files that are ready to be executed in Cucumber. The generated feature files follow the rules defined in [Generate Cucumber Features](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565307) and consider the context of the Jira Test Set Work item.

This action will generate and download a *FeatureBundle* zip file containing a single Cucumber feature file for every Requirement associated with the target Test (with the Test type Gherkin) contained in the Test Set.

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> To export a Test Set Work item containing Cucumber Tests to feature files, click the ellipsis button (Figure 16 - 1) and select *Xray - Generate Cucumber Feature Files *(Figure 16 - 2).
> 
> ![Figure 16 - Export](media://a6c8a713-1fd1-4143-b08c-605a5c233e4b)
> 
> > Macro (rw-step)
> 
> A modal will open for you to download the file onto your machine (Figure 17 - 1).
> 
> ![Figure 17 - Download](media://42e3c906-3487-4184-81f6-905712490e5d)

# Xray History

Any changes made to the Test Set data are recorded in the Xray History section (Figure 18). This includes linking the Test with other entities (e.g., Test).

![Figure 18 - History](media://ac3f21b8-91f8-489c-8174-e976980a60b3)


<details>
<summary>Support/Troubleshooting</summary>

If you have questions or technical issues, please [contact the Support team via the Customer Portal (Jira service management)](https://jira.getxray.app/servicedesk/customer/portal/2/user/login?destination=portal%2F2%2Fcreate%2F28) or [send us a message using the in-app chat](https://getxraydocs.atlassian.net/wiki/display/XRAYCLOUD/In-App+Chat+Support).
</details>