Using Allure command line tool you can generate the report from existing Allure results.
Allure CLI is a Java application so it's available for all platforms. You have to manually install Java 1.7+ before using Allure CLI.
For Debian-based repositories we provide a PPA so the installation is straightforward:
You can install Allure CLI via Homebrew.
After installation you will have allure command available. Read more about Allure Homebrew Formula.
Windows and other Unix
- Download the latest version as zip archive from https://github.com/allure-framework/allure-core/releases/latest.
- Unpack the archive to allure-commandline directory.
- Navigate to bin directory.
- Use allure.bat for Windows and allure for other Unix platforms.
To configure the Allure report you should create allure.properties file
and simply generate the report. By default command line tool looking for config in directory you run the command. You can use ALLURE_CONFIG environment variable to specify the path to configuration.
There is few commands available.
Generate the report
To generate the report from existing Allure results you can use the following command:
The report will be generated to allure-report folder. You can change the destination folder using -o flag:
For more information use the allure help generate command.
Open the report
When the report is generated you can open it in your default system browser. Simply run
Clean the report
If you want to remove the generated report data use allure report clean command.
By default the report commands will looking for the report in allure-results folder. If you are want to use the report from different location you can use -o option.