Httprunner output assure Report

Httprunner output assure Report

1. Install allure

Mac:

brew install allure 

Windows: https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.12.0/

After downloading, unzip, enter the bin directory, and use the allure.bat That is, the directory can be configured to an environment variable

2. Install assure pytest

pip install allure-pytest 

3. Execute httprunner command

hrun --alluredir allure-results --clean-alluredir testcasesname 

After execution, you can see that there is an assure results folder

implement

allure generate Folder for generating alure reports 

Windows can use the allure.bat generate …

Or start the static service of the report directly:

allure serve Folder for generating alure reports Generate reports.

*

*

Read More: