当前位置:网站首页>Pytest interface automated testing framework | common plug-ins of pytest
Pytest interface automated testing framework | common plug-ins of pytest
2022-07-26 11:57:00 【COCOgsta】
Video source :B standing 《 Risking your life to upload !pytest Interface automation test framework ( From basic theory to project practice and secondary development ) Teaching video 【 software test 】》
Organize the teacher's course content and test notes while studying , And share it with you , Infringement is deleted , Thank you for your support !
Attach summary sticker :pytest Interface automation test framework | Summary _COCOgsta The blog of -CSDN Blog
Plug in list URL :
docs.pytest.org/en/latest/reference/plugin_list.html
pytest Our ecosystem is very prosperous

pytest-HTML plug-in unit Generate test reports
Installation mode :pip install pytest-html
Usage method :pytest --html= User path /report.html
pytest.ini
[pytest]
# 01 Multiple command line parameters can be added , Separate... With spaces
addopts = -s -v --html=./report/report.html
# 02 Search folder , Execute the use case in the specified folder , front :pytest The rules There is a detailed explanation in the section
testpaths = ./scripts
# 03 Configure the file name of the test search , The default is to search test Opening file , Change to auto start , With .py All the files at the end
python_files = auto*.py
# 04 Configure the test class name for the test search , The default is Test Initial class , Change to Auto_ Initial class
python_classes = Auto_*
# 05 Test function name for configuring test search , The default is test Opening method / function , Change to auto_* start
python_functions = auto_*
# 06 Execute by tag , Ahead “ Execute use cases through markup expressions ” Detailed explanation , There's no more talk about
markers =
slow: Comment statement
smoke: Comment statement
serial边栏推荐
- MongoDN数据库以URL形式连接
- 【附下载】一款强大的Web自动化漏洞扫描工具——Xray
- Test cases should never be used casually, recording the thinking caused by the exception of a test case
- .....
- 专访即构科技李凯:音视频的有趣、行业前沿一直吸引着我
- Pytest interface automated testing framework | introduction to fixture of pytest
- 浅谈Web Vitals
- 【通信原理】第二章 -- 确知信号
- 零基础小白也能懂的 Redis 数据库,手把手教你易学易用!
- Subject 3 turns and turns
猜你喜欢

基于 Flink CDC 实现海量数据的实时同步和转换

Is it easy to find a job after programmer training?

The latest heart-shaped puzzle applet source code + with flow master

向日葵远程控制为何采用BGP服务器?自动最优路线、跨运营商高速传输

【安徽大学】考研初试复试资料分享
![[ten thousand words long text] Based on LSM tree thought Net 6.0 C # realize kV database (case version)](/img/84/640de0bf779cd45498204909be56d1.png)
[ten thousand words long text] Based on LSM tree thought Net 6.0 C # realize kV database (case version)

Why BGP server is used in sunflower remote control? Automatic optimal route and high-speed transmission across operators

4.1 配置Mysql与注册登录模块

3.2 create menu and game pages (Part 2)

Metauniverse gamefi chain game system development NFT Technology
随机推荐
【活动早知道】LiveVideoStack近期活动一览
Audio and video technology development weekly | 255
Pytoch -- error based on mmseg/mmdet training: runtimeerror: expected to have finished reduction in the priority iteration
【附下载】一款强大的Web自动化漏洞扫描工具——Xray
V01 - XX,记录美好生活从日志开始
虚拟偶像代言产品出问题谁负责? 且听律师分析
Big view +500 cases, software teams should improve R & D efficiency in this way!
pytest接口自动化测试框架 | pytest常用插件
Flink cdc 是不是只支持 sql-client的方式提交SQL脚本啊
最新心形拼图小程序源码+带流量主
零基础小白也能懂的 Redis 数据库,手把手教你易学易用!
Esp8266 Arduino programming example - know esp8266
【通信原理】第三章 -- 随机过程[上]
[communication principle] Chapter 2 -- deterministic signal
初试YOLOv7
面试官:如何理解QPS,TPS,RT?
pytest接口自动化测试框架 | pytest的setup和teardown函数
Esp8266 Arduino programming example - development environment construction (based on platformio)
Mlx90640 infrared thermal imager temperature sensor module development notes (6)
On the construction and management of low code technology in logistics transportation platform