---
title: "Global Settings: Cucumber"
canonical: "https://docs.getxray.app/space/XRAYCLOUD/44572481/Global%20Settings%3A%20Cucumber"
format: markdown
---
In this configuration page, users can configure settings related to Cucumber Tests and the generation of Cucumber .feature files (i.e., export) based on Xray Tests and related entities.

# Cucumber Export Prefixes

#### Test

An optional prefix for the Test label key to identify the scenario with a Jira issue.

#### Precondition

<span style="color: #000000">An optional prefix for the Precondition label key to identify the Jira Precondition issue.</span>

#### Test Set

<span style="color: #000000">An optional prefix for the Test Set label keys to identify the Jira Test Set issues.</span>

#### Requirement

<span style="color: #000000">An optional prefix for the requirement label key to identify the Jira requirement issue.</span>


# Cucumber Language

#### Language

Choose the language in which the automated Cucumber tests will be interpreted and exported by Xray. The default is English.


# Cucumber Export

#### Replace dash [ - ] with underscore [ _ ] when exporting issue keys as tags

When this option is enabled, the dashes in the issue keys included in the exported Cucumber feature files will be replaced by underscores. Enable this option if your testing framework does not support dashes in tags.

#### Generate features by requirements

When this option is enabled, one feature file will be generated for each requirement issue within the export context. Disabling this option will generate all tests in the same feature file, given that all tests also have the same background (precondition) or they have no background.

<span style="color: #172b4d">**Generate features file name using summary**</span>

<span style="color: #172b4d">When this option is enabled, the feature file name will be contain the summary of the requirement issue or the test issue instead of their respective keys.</span>