📊Allure CLI
Pylenium has commands for working with allure reporting
These are "convenience" commands if you are new to allure, but you can use these Pylenium commands or use the allure
CLI directly (recommended)
allure install
Install the allure
CLI on the current machine.
Pylenium detects your operating system and tries to install allure with the appropriate installation commands. However, it's recommended that you use their official installation docs instead.
allure check
Check that there is valid allure CLI installed on the current machine.
If successful, a message is displayed with the current version of allure
Otherwise, allure is not installed or not added to the PATH correctly
This is equivalent to the following allure command ⬇️
allure serve
Starts the allure server, generates the report, and serves it as a new browser tab.
This is equivalent to the following allure command ⬇️
Example
Run your tests with pytest and specify that the output be saved to the allure-report
folder
With the test run finished we can serve the report and see the results
Last updated