Integrate Allure Reports
In this lesson, you'll learn how to integrate Allure reporting to our project and produce visually appealing test reports.
What is Allure?
Allure Framework is a flexible and lightweight test reporting tool that shows a very concise representation of test execution in a very intuitive web report.
Installing Allure via command line
Mac
brew install allure
Linux
sudo apt-add-repository ppa:qameta/allure
sudo apt-get update
sudo apt-get install allure
Windows
To install scoop, follow the link.
scoop install allure
Manual installation
Alternatively, we can download the latest Allure command-line binary from link, extract, and add to classpath.
Mac / Linux
export PATH=$PATH:</path/allure/bin>
Windows
set PATH=%PATH%;<\path\allure\bin>;
Adding dependency
Gradle (in build.xml
)
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "io.qameta.allure:allure-gradle:2.8.1"
}
}
plugins {
id 'io.qameta.allure'
}
def allure_version = '2.13.1'
allure {
version = allure_version
...