📊Allure CLI
Pylenium has commands for working with allure reporting
Last updated
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)
Install the allure CLI on the current machine.
pylenium allure installPylenium 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.
Check that there is valid allure CLI installed on the current machine.
pylenium allure checkIf 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 --versionStarts the allure server, generates the report, and serves it as a new browser tab.
This is equivalent to the following allure command ⬇️
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
pylenium allure serve --folder [FOLDER]allure serve [FOLDER]pytest --alluredir=allure-reportpylenium allure serve --folder allure-report