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

# Introduction

Organizing your Tests is a crucial part of your daily Testing activities. Since your project may have hundreds or thousands of Tests, it is imperative to organize them efficiently so you can quickly find relevant Tests.

While many users organize Tests using labels, components, priority, etc., these methods are often insufficient and may not scale according to your needs.

Xray provides [two different but very effective ways of organizing Tests](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/659259394) 

- Using [Test Sets](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565163) Work items.
- Using the [Test Repository](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565166).

# Test Set

Xray offers a specific Work item type for grouping Tests: the [Test Set](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565163) . This is a simple way to create different groups of Tests; essentially, they are flat lists of Tests. You can create as many Test Sets as you need, and a Test can be included in multiple Test Sets. Test Sets are ideal if you want full control over specific groups of Tests. You can easily select them whenever needed (e.g., when creating [Test Plans](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565153) or [Test Executions](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565117)). Test Sets can also be used dynamically to cover Requirements.

# Test Repository

The [Test Repository](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565166), on the other hand, provides a tree-like organization at the Space level. Users can hierarchically organize Tests within folders and subfolders. This folder structure is common in some tools and resembles the organization of files and documentation on a user's computer.

To decide which method to use, we recommend reviewing the pros and cons detailed in the [Test Repository](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565166). For some teams, the choice may simply depend on whether they prefer organizing tests in a list or a hierarchical form.

Additionally, we’ve compiled some [tips](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/659259394) that might help guide you in choosing the right approach.


<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>