当前位置:网站首页>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


边栏推荐
- 异常解决:cococaption包出现找不到edu.stanford.nlp.semgraph.semgrex.SemgrexPattern错误
- [common commands]
- Not 67 days, square root
- Not for 58 days. Implement prefix tree
- SQL time fuzzy query datediff() function
- Opengauss pre check installation
- Don't the JDBC SQL connector of the big guys Flink now support all databases, such as vertica?
- 9.延迟队列
- Differences and principles of bio, NiO and AIO
- Change the value of the argument by address through malloc and pointer
猜你喜欢

不会就坚持58天吧 实现前缀树

HC06 HC05 BT

通过js来实现一元二次方程的效果,输入a,b,c系数后可计算出x1和x2的值

SVG--loading动画
![[Openstack] keystone,nova](/img/de/70b654a29a813c8fe828c4018bd4e7.png)
[Openstack] keystone,nova

不会就坚持65天吧 只出现一次的数字

不会就坚持64天吧 查找插入位置

How to solve the problem of store ranking?

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

Value transmission and address transmission of C language, pointer of pointer
随机推荐
Not for 58 days. Implement prefix tree
Interview notes of a company
MPU6050
[Openstack] keystone,nova
C language: summary of consortium knowledge points
Install the laser of ROS_ scan_ Problems encountered in match library (I)
不会就坚持66天吧 权重生成随机数
Fuzzy query of SQL
How to set the SQL execution timeout for flick SQL
Locker 2022.1.1
SVG--loading动画
It won't last for 70 days. The k-largest number in the array
C语言:typedef知识点总结
Code or script to speed up the video playback of video websites
[kvm] common commands
索引的最左前缀原理
10.回退消息
小程序:区域滚动、下拉刷新、上拉加载更多
Two forms of softmax cross entropy + numpy implementation
C language: structure simple syntax summary