Install Allure Report for Node.js
To get the reporting process working you need to install two components:
Install the Allure Report CLI
Allure Report can be installed on any operating system using Node.js.
Make sure Node.js is installed.
Make sure Java version 8 or above installed, and its directory is specified in the
JAVA_HOMEenvironment variable.In a terminal, run this command:
npm install -g allure-commandlineRun this command to see if it reports the latest version:
allure --versionIf the
allurecommand does not work, it is most likely caused by the NPM's directory not being added to your operating system'sPATHvariable. To get the path that needs to be added, run this command:powershellnpm config get prefixbashecho $(npm config get prefix)/binbashecho $(npm config get prefix)/bin
Install the test framework integration
Look for the integration for your test framework in the list of Allure integrations, and follow the setup instructions.