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:
- [Solved] HttpRunner Error: Invalid testcase path or testcases: startproject
- Httprunner Run Error: while parsing a block mapping
- Python uses try… Except… To output detailed errors
- How does Python output colored fonts in the CMD command line window
- Error:output with shape [1, 224, 224] doesn‘t match the broadcast shape [3, 224, 224]
- python: File Processing and Input and Output
- [Solved] Mindspot error: Error: runtimeerror:_kernel.cc:88 CheckParam] AddN output shape must be equal to input…
- [Solved] YOLOv4 Error: Layer before convolutional layer must output image.: No error
- Import CV2 & Numpy report red Warning and Error [How to Solve]
- Import * has a red wavy line, but the operation does not report an error
- Django uses Mysql to report an error loading MySQL DB module: no module named ‘mysqldb’
- The anaconda-navigator interface cannot be started, loading application, report ERROR download_api._get_url error
- Pychar: How to Fix using SQLite to report an error: java.lang.ClassNotFoundException
- [Solved] import pyzed No Error, but import pyzed.sl report an Error (zed-pythonAPI Installing)
- cffi Security Report “c / _cffi_backend.oc / _cffi_backend.c: 15:17: error: ffi.h: No such file or directory” Problem
- pytest pluggy.manager.PluginValidationError: unknown hook’pytest_namespace’ error handling method
- Pytest AttributeError: module ‘pytest‘ has no attribute ‘main‘
- [Solved] Mac ffmpeg Install Error: filenotfounderror: [errno 2] no such file or directory: ‘ffmpeg’: ‘ffmpeg’
- [Solved] CONDA Error: Collecting package metadata (current_repodata.json): failed…
- [Solved] pytest error: error: unrecognized arguments