当前位置:网站首页>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
边栏推荐
- 顺序表和链表
- No, just stick to it for 59 days
- C language: talking about various complex statements
- rman不标记过期备份
- AssertionError(“Torch not compiled with CUDA enabled“)
- Won't you insist on 71 days? List sorting
- Machine vision series 3:vs2019 opencv environment configuration
- It won't last for 65 days. It only appears once
- Record of problems encountered in ROS learning
- 9.延迟队列
猜你喜欢
从淘宝,天猫,1688,微店,京东,苏宁,淘特等其他平台一键复制商品到拼多多平台(批量上传宝贝详情接口教程)
12. Priority queue and inert queue
15.federation
Not for 58 days. Implement prefix tree
11.备份交换机
Value transmission and address transmission of C language, pointer of pointer
MySQL gets the maximum value record by field grouping
11. Backup switch
Object detection: object_ Detection API +ssd target detection model
[hands on deep learning] environment configuration (detailed records, starting from the installation of VMware virtual machine)
随机推荐
对一个元素使用多种变形的方法
Don't insist on 66 days. Weight generates random numbers
Taobao product details interface (product details page data interface)
不会就坚持67天吧 平方根
When array is used as a function parameter, it is better to use the array size as a function parameter
[kvm] create virtual machine from kickstart file
淘宝商品详情接口(商品详情页面数据接口)
Implementation of jump connection of RESNET (pytorch)
C language: summary of consortium knowledge points
%s. %c, character constant, string constant, const char*, pointer array, string array summary
SQL time fuzzy query datediff() function
不会就坚持68天吧 狒狒吃香蕉
不会就坚持69天吧 合并区间
LCA 板子
Deep learning training strategy -- warming up the learning rate
RMAN do not mark expired backups
Function pointer and callback function
Fu Yingna: Yuan universe is the new generation of Internet!
2021 sist summer camp experience + record post of School of information, Shanghai University of science and technology
Won't you just stick to 69 days? Merge range