当前位置:网站首页>6. Pytest generates an allure Report
6. Pytest generates an allure Report
2022-07-29 04:18:00 【Eightthousand streams.】
pytest Generate allure The report
1. download allure
- mac Download mode :
brew install allure
2.python Environmental installation allure-pytest
pip install allure-pytestinstall allure-pytest packagepip listCheck which packages are installed in the current environment , You can view the just installed allure-pytest package
3. Carry out orders , Generate use case execution results allure Of json Data sets
pytest --alluredir ./reports/result --clean-alluredir--alluredir ./reports/resultSpecify the directory path for the report--clean-alluredirIf a report already exists , Just empty it first
4. Terminal execution command , Build assignments html The report
allure generate reports/result -o reports/html --clean- allure generate Use to generate test result data -o Path to report generation --clean
--clean Express: If the generate report path folder already exists , If you use it again, you will be prompted to add –clean Parameter to override
5. Open with browser allure The report


边栏推荐
- C language: talking about various complex statements
- Labelme cannot open the picture
- Implementation of jump connection of RESNET (pytorch)
- Two forms of softmax cross entropy + numpy implementation
- Semantic segmentation correlation
- Model tuning, training model trick
- SVG--loading动画
- 异常解决:cococaption包出现找不到edu.stanford.nlp.semgraph.semgrex.SemgrexPattern错误
- The structure pointer must be initialized, and the pointer must also be initialized
- 开课!看smardaten如何分解复杂业务场景
猜你喜欢

Install the laser of ROS_ scan_ Problems encountered in match library (I)

Won't you just stick to 62 days? Sum of words

不会就坚持59天吧 替换单词

14.haproxy+keepalived负载均衡和高可用

Object detection: object_ Detection API +ssd target detection model

Fu Yingna: Yuan universe is the new generation of Internet!

How to solve the problem of store ranking?

全屋WiFi方案:Mesh路由器组网和AC+AP

No, just stick to it for 59 days

信号处理中的反傅里叶变换(IFFT)原理
随机推荐
不会就坚持70天吧 数组中第k大的数
"Weilai Cup" 2022 Niuke summer multi school training camp 2H
LCA 板子
MySQL gets the maximum value record by field grouping
BIO、NIO、AIO的区别和原理
How to write the filter conditions of data integration and what syntax to use? SQL syntax processing bizdate can not be
rman不标记过期备份
Svg -- loading animation
It won't last for 70 days. The k-largest number in the array
Can you really write restful API?
Database SQL statement realizes function query of data decomposition
C language: structure simple syntax summary
Machine vision Series 2: vs DLL debugging
Object detection: object_ Detection API +ssd target detection model
Why are there so many unknowns when opengauss starts?
How to solve the problem of store ranking?
View partition table format
No, just stick to it for 64 days. Find the insertion location
opengauss预检查安装
[k210 stepping pit] pytorch model is converted to kmodel and used on dock. (ultimately not achieved)