Skip to content
This repository has been archived by the owner on Jan 14, 2019. It is now read-only.
Artem Eroshenko edited this page Aug 4, 2017 · 114 revisions

Allure 2 is out

Please consider using allure2 instead. The source code of allure 2 available at https://github.com/allure-framework/allure2 , and docs can be found at https://docs.qameta.io/allure/latest/

Home

Allure Framework is a flexible lightweight multi-language test report tool with the possibility to add screenshots, logs and so on. It provides modular architecture and neat web reports with the ability to store attachments, steps, parameters and many more.

Getting started

To use Allure, you only need to complete two steps:

  1. Gather information about tests
  2. Generate a report

Gathering information about tests

In this step, all information about running tests is saved to XML files with a predefined format. For this purpose, we provide so-called adapters - small libraries that are attached to particular test frameworks and know how to extract test information to XML. For more information, select one of the supported test frameworks:

Also see various examples on how to use adapters.

Generating a report

Once the XML files have been created by the adapter, you can generate an Allure report using one of the following tools:

Main features

This section describes the main features of Allure. For example, you can group your tests by stories or features, attach files, and distribute assertions over a set of custom steps, among other features. All features are supported by Java test frameworks, so we only provide Java examples here. For details on how a particular adapter works with the test framework of your choice, refer to the adapter guide.

Development