---
title: Behat configuration
description: Configuration for Allure Behat | Change allure-results directory
---

# Allure Behat configuration

This page describes the configuration options that affect the behavior of [Allure Behat](/docs/behat/).

To set the options, edit your project's [`behat.yml`](https://docs.behat.org/en/latest/user_guide/configuration.html) file.

The `output_path` option is configured for the Allure formatter in the `formatters` section. All other options are configured for the Allure extension in the `extensions` section.

```yaml
default:
  formatters:
    pretty: true
    allure:
      output_path: "%paths.base%/build/allure"

  extensions:
    Allure\Behat\AllureFormatterExtension:
      ignored_tags: "wip, skip"
      severity_key: "severity:"
      issue_tag_prefix: "issue:"
      test_id_tag_prefix: "tms:"
```

Info:
Remember that in YAML, any values ending with a colon must be contained in quotation marks.

## output_path

Path to the directory where Allure Behat will save the test results, see [How it works](/docs/how-it-works/). If the directory does not exist, it will be created. Defaults to `%paths.base%/allure-results`.

## ignored_tags

A tag or a comma-separated list of tags that must not be interpreted as [user stories](/docs/behat-reference/#behavior-based-hierarchy).

It is recommended to put here the tags that you use for filtering purposes, such as “wip” from the [example in the Behat documentation](https://docs.behat.org/en/latest/user_guide/configuration.html#global-filters).

## severity_key

The tag prefix for specifying [severity levels](/docs/behat-reference/#severity) for tests.

## issue_tag_prefix

The tag prefix for specifying [issue links](/docs/behat-reference/#link) for tests.

## test_id_tag_prefix

The tag prefix for specifying [TMS links](/docs/behat-reference/#link) for tests.
