id | title | hide_title | sidebar_label | description | keywords | url | site_name | slug | |||
---|---|---|---|---|---|---|---|---|---|---|---|
allure-reports |
Allure Reports on HyperExecute |
true |
Allure Reports |
Learn how to generate Allure test report for HyperExecute on lambdatest and download the reports from the dashboard |
|
LambdaTest |
allure-reports/ |
Allure Framework is a versatile, lightweight, multi-language test reporting tool designed to provide a concise representation of tested functionalities in a visually appealing web report format. It facilitates easy extraction of valuable information for all stakeholders involved in the development process.
If your testing framework already generates Allure reports, you can seamlessly integrate it with HyperExecute. This integration enables the generation of a consolidated Allure report on HyperExecute for each job, accessible through the report section of the HyperExecute dashboard.
Step 1: To configure the Allure reporter in the WDIO framework, update your wdio.conf.js
file as follows:
export const config = {
reporters: [['allure', {
outputDir: 'allure-results',
disableWebdriverStepsReporting: true,
disableWebdriverScreenshotsReporting: true,
}]],
}
-
The
outputDir
parameter specifies the directory where Allure reports will be stored. In this example, it is set to 'reports/allure-results'. This parent folder is essential for HyperExecute integration, as detailed later. -
The
disableWebdriverStepsReporting
anddisableWebdriverScreenshotsReporting
parameters allow customization of reporting options.
Step 2: Add the following report parameters in your HyperExecute YAML file
report: true
partialReports:
location: reports
type: html
frameworkName: allure
NOTE: The above example is only for the WDIO framework and the baseline concept remains the same across all the frameworks that the allure-results should be saved in a parent folder and that location of the parent folder is to be provided in the location parameters of reports in the HyperExecute YAML file.
<img loading="lazy" src={require('../assets/images/hyperexecute/knowledge-base/reports/allure.png').default} alt="Image" className="doc_img"/>