Install Allure Report for macOS
To get the reporting process working you need to install two components:
Install the Allure Report CLI
Allure Report can be installed on Linux from the Homebrew package repository or manually from an archive.
Install from Homebrew
Make sure Homebrew is installed.
In a terminal, run this command:
brew install allureRun this command to see if it reports the latest version:
allure --version
Install from an archive
Make sure Java version 8 or above installed, and its directory is specified in the
JAVA_HOMEenvironment variable.Go to the latest Allure Report release on GitHub and download the
allure-*.ziporallure-*.tgzarchive.Uncompress the archive into an installation directory of your choice. For example:
tar xf /home/user/Downloads/allure-2.29.0.tgz -C /home/user/toolsOpen the script that your command shell loads when logging in (it can be located at
~/.profile,~/.bash_profile,~/.zprofile, etc.) and add the following line to the end of it.(Replace
/home/user/tools/allure-2.29.0/binwith the path to thebinsubdirectory file in your installation directory.)bashexport PATH=$PATH:/home/user/tools/allure-2.29.0/binIf you have previously added a path to another version of Allure Report to
PATH, make sure to remove it.Close and re-open the terminal window.
Run this command to see if it reports the latest version:
allure --version
Install the test framework integration
Look for the integration for your test framework in the list of Allure integrations, and follow the setup instructions.