Skip to content
Allure report logoAllure Report
Main Navigation ModulesDocumentationStart

English

Español

English

Español

Appearance

Sidebar Navigation

Introduction

Install & Upgrade

Install for Windows

Install for macOS

Install for Linux

Install for Node.js

Upgrade Allure

Getting started

How to view a report

Improving readability of your test reports

Improving navigation in your test report

Features

Test steps

Attachments

Test statuses

Sorting and filtering

Defect categories

Visual analytics

Test stability analysis

History and retries

Timeline

Export to CSV

Export metrics

Guides

JUnit 5 parametrization

JUnit 5 & Selenide: screenshots and attachments

JUnit 5 & Selenium: screenshots and attachments

Setting up JUnit 5 with GitHub Actions

Pytest parameterization

Pytest & Selenium: screenshots and attachments

Pytest & Playwright: screenshots and attachments

Pytest & Playwright: videos

Playwright parameterization

How it works

Overview

Test result file

Container file

Categories file

Environment file

Executor file

History files

Integrations

Azure DevOps

Bamboo

GitHub Actions

Jenkins

JetBrains IDEs

TeamCity

Visual Studio Code

Frameworks

Behat

Getting started

Configuration

Reference

Behave

Getting started

Configuration

Reference

Codeception

Getting started

Configuration

Reference

CodeceptJS

Getting started

Configuration

Reference

Cucumber.js

Getting started

Configuration

Reference

Cucumber-JVM

Getting started

Configuration

Reference

Cucumber.rb

Getting started

Configuration

Reference

Cypress

Getting started

Configuration

Reference

Jasmine

Getting started

Configuration

Reference

JBehave

Getting started

Configuration

Reference

Jest

Getting started

Configuration

Reference

JUnit 4

Getting started

Configuration

Reference

JUnit 5

Getting started

Configuration

Reference

Mocha

Getting started

Configuration

Reference

Newman

Getting started

Configuration

Reference

NUnit

Getting started

Configuration

Reference

PHPUnit

Getting started

Configuration

Reference

Playwright

Getting started

Configuration

Reference

pytest

Getting started

Configuration

Reference

Pytest-BDD

Getting started

Configuration

Reference

Reqnroll

Getting started

Configuration

Reference

REST Assured

Getting started

Configuration

Robot Framework

Getting started

Configuration

Reference

RSpec

Getting started

Configuration

Reference

SpecFlow

Getting started

Configuration

Reference

Spock

Getting started

Configuration

Reference

TestNG

Getting started

Configuration

Reference

Vitest

Getting started

Configuration

Reference

WebdriverIO

Getting started

Configuration

Reference

xUnit.net

Getting started

Configuration

Reference

On this page

How it works ​

Allure Report consists of a framework adapter and the allure command-line utility. After a simple initial configuration (described below), creating a test report for your project takes no more than three steps.

How Allure Report works, Allure Results, additional data, history data, serve vs generate

  1. Run your tests as you would do normally: from the command line, from your IDE, etc.

    In addition to printing or saving the test results in its own format (Test results on the picture above), the Allure Report adapter receives the data from a test framework. The API used for this communication depends on the framework — for example, the Allure adapter may be registered as a Playwright reporter, a Cucumber.js formatter, etc.

    The adapter saves data in the Allure file formats into a separate directory (allure-results on the picture above). The directory path can be changed in the adapter settings.

    The generated files include:

    • test result files to describe execution of tests,
    • container files to describe test fixtures.

    TIP

    You may run this step multiple times, accumulating data into the same results directory. This is useful, for example, if different tests require different runner parameters or different environments. As a group, these runs are referred to as a launch.

    When a launch contains multiple runs of the same test, they are referred to as retries.

  2. If necessary, put files with additional data for this launch into the results directory.

    Additional files may include:

    • environment file to store some global data for all the tests in the report,
    • executor file to describe the CI job and the URL at which the report will be located,
    • history files to enable trend graphs and other history-related features,
    • categories file to group test results into custom categories.

    Skip this step if you don't need to enable any of these features, or if your Allure adapter generates the files automatically. Check your adapter's documentation.

  3. Generate the HTML report by using one of the two Allure command-line commands.

    • allure generate processes the test results and saves an HTML report into the specified directory (allure-report on the picture above). To view the report, use the allure open command.

      Use this command if you need to save the report for future reference or for sharing it with colleagues.

    • allure serve creates the same report as allure generate but puts it into a temporary directory and starts a local web server configured to show this directory's contents. The command then automatically opens the main page of the report in a web browser.

      Use this command if you need to view the report for yourself and do not need to save it.

  4. To share the report, you can use the following approaches.

    • You may download and archive your report, then send it via file hosting, email, Slack, or other available method.
    • If you have integrated the report with a CI tool, you may share a link to the job results page that embeds the report.
    • You may host the report on a web server and share the link to it.
    • In the following cases, we recommend considering Allure TestOps:
      • If the report needs to be available 24/7 in a centralized and secure way,
      • If the report needs to be provided to non-technical team members or management who do not have access to the CI tool,
      • If the archive is too large and difficult to send.

Initial configuration ​

The initial configuration depends on the test framework you are using. In general, the following steps are required:

  1. Install the Allure adapter for your test framework.

  2. Install the Allure command-line utility, see Installation.

    INFO

    Depending on the framework you are using, the Allure adapter may come with the Allure command-line utility included. In such a case, you may skip this step.

  3. In your project's configuration, enable the Allure adapter and set its parameters.

See the specific adapter documentation for more details.

Pager
Previous pagePlaywright parameterization
Next pageTest result file
Powered by

Join our newsletter

Allure TestOps
  • Overview
  • Why choose us
  • Cloud
  • Self-hosted
  • Success Stories
Company
  • Documentation
  • Blog
  • About us
  • Contact
  • Events
© 2025 Qameta Software Inc. All rights reserved.