当前位置:网站首页>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-pytest
install allure-pytest packagepip list
Check 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/result
Specify the directory path for the report--clean-alluredir
If 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
边栏推荐
- 不会就坚持60天吧 神奇的字典
- 全屋WiFi方案:Mesh路由器组网和AC+AP
- C语言:浅谈各种复杂的声明
- The structure pointer must be initialized, and the pointer must also be initialized
- Won't you just stick to 69 days? Merge range
- Not for 60 days, magical dictionary
- Blood cases caused by < meta charset=UTF-8> -- Analysis of common character codes
- Whole house WiFi solution: mesh router networking and ac+ap
- 不会就坚持61天吧 最短的单词编码
- 不会就坚持62天吧 单词之和
猜你喜欢
Not for 61 days. The shortest word code
[paper translation] vectornet: encoding HD maps and agent dynamics from vectorized representation
Not for 63 days. The biggest XOR
[kvm] create virtual machine from kickstart file
Installation and use of stm32cubemx (5.3.0)
Two forms of softmax cross entropy + numpy implementation
Copy products with one click from Taobao, tmall, 1688, wechat, jd.com, Suning, taote and other platforms to pinduoduo platform (batch upload baby details Interface tutorial)
rman不标记过期备份
Blood cases caused by < meta charset=UTF-8> -- Analysis of common character codes
Applet: Area scrolling, pull-down refresh, pull-up load more
随机推荐
[material delivery UAV] record (ROS + Px4 + yolov5 + esp8266 + steering gear)
Sequence list and linked list
Don't the JDBC SQL connector of the big guys Flink now support all databases, such as vertica?
Semantic segmentation correlation
淘宝商品详情接口(商品详情页面数据接口)
11.备份交换机
C language: talking about various complex statements
Object detection: object_ Detection API +ssd target detection model
Incubator course design (April 12, 2021)
Wechat applet parameter transfer
Whole house WiFi solution: mesh router networking and ac+ap
Multi card training in pytorch
The function "postgis_version" cannot be found when installing PostGIS
Is there any way for Youxuan database to check the log volume that the primary cluster transmits to the standby cluster every day?
为什么opengauss启动的时候这么多的unknown?
顺序表和链表
C language: structure simple syntax summary
Two forms of softmax cross entropy + numpy implementation
Opengauss pre check installation
不会就坚持59天吧 替换单词