Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

By default, each project inherits the globally-defined Test Types. However, each project can use it's its own Test Types. 

In order to enable project To use project-level settings, please make sure to "Enable Project Settings" at the top of the page.

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

...

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

Each Xray Test Type is of some "kind"; Xray provides 3 "kinds"can be one of three kinds:

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


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

RankTest TypeKind
1

Manual

(default)

Steps
2GenericUnstructured
3CucumberGherkin


The rank is used as sorting criteria whenever showing the options for to sort the values of the Test Type of some for a Test case. The default Test Type will be used as the one used , also by default, when a Test issue or a Pre-Condition Precondition is created.



Create a Test Type

To create a new Test Type, go to the section "Add New Test Type Option" available 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)

...

Delete a Test Type

Custom statuses can also be deleted from Xray. To delete an existing custom status:

  1. Click on "Delete" on the table entry corresponding to the statustest type.
  2. Click Confirm.Confirm, by clicking on "Delete"


Note: whenever When deleting a local Test Type option, all Tests in the current project having the same Test Type value will be migrated for some to the new Test Type provided by the user.

...


Change the order of a Test Type

The You can modify the order by which the Test Type options appear in the Test Type selection dropdown in a Test issue can be changed by using the arrows available in the "Order" column.


One Test Type can be set as being the default. The default Test Type is the one , which will then be used whenever creating a Test or Pre-Condition Precondition issues are created