---
title: "Space Settings: Test Types"
canonical: "https://docs.getxray.app/space/XRAYCLOUD/44566481/Space%20Settings%3A%20Test%20Types"
format: markdown
---
> Macro (toc)

As a Space administrator, you can define which Test Types you want to use in the context of your Space.

By default, each Space inherits the globally-defined Test Types. However, each Space can use its own Test Types. 

To use Space-level settings, please make sure to **Enable Space Settings** at the top of the page.

Test Types created locally in a Space are only visible within the scope of that Space; in other words, local Test Types won't appear nor affect the global Test Types.


![image](media://be83ccc8-e236-487c-9ce3-2017538e8a24)

A Test Type is used as a way to characterize the Test in terms of its nature, so it can be clearly distinguished from others.

Each Xray Test Type can be one of three kinds:

- **Steps**: structured; composed of multiple steps
- **Unstructured**: unstructured; it has only one Definition field that can be used to define the Test case
- **Gherkin**: a test composed of Gherkin statements.

Upon installation, Xray will create the following Test Types by default:

| **Rank** | **Test Type** | **Kind** |
| --- | --- | --- |
| 1 | Manual<br>(default) | Steps |
| 2 | Generic | Unstructured |
| 3 | Cucumber | Gherkin |

The rank is used to sort the values of the Test Type for a Test case. The default Test Type will be used when a Test Work Item or a Precondition is created.

![image](media://d2ad063d-7ce1-40a8-a573-40571e8d70cf)

## Create a Test Type

To create a new Test Type, go to the **Add New Test Type Option** section at the bottom of the page, fill out the following fields, and press **Add**:

- **Option**: the name for the Test Type option
- **Kind**: the nature of the Test Type (e.g., Steps, Unstructured, Gherkin)

![image](media://316b954f-e602-46f8-9e4b-1e3787d58b08)

## Delete a Test Type

1. Click on **Delete** on the table entry corresponding to the test type.> Macro (inline-media-image)
2. Click **Confirm**.> Macro (inline-media-image)


> ℹ️ **Note**
> ℹ️ 
> ℹ️ <span style="color: #003366">When deleting a local Test Type option, all Tests in the current project having the same Test Type value will be migrated to the new Test Type provided by the user.</span>


## Change the order of a Test Type

You can modify the order in which the Test Type options appear in the Test Type selection dropdown in a Test Work Item by using the arrows available in the **Order** column.

![image](media://a0474847-4608-42bd-af86-2cef657a1b60)

One Test Type can be set as the default, which will then be used whenever a Test or Precondition Work Item are created.