当前位置:网站首页>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边栏推荐
- 远程ip Debugger(实用干货)
- [communication principle] Chapter 3 -- random process [i]
- 常用的 list.isEmpty() 为何突然报null?
- [ten thousand words long text] Based on LSM tree thought Net 6.0 C # realize kV database (case version)
- 基于 Flink CDC 实现海量数据的实时同步和转换
- 专访即构科技李凯:音视频的有趣、行业前沿一直吸引着我
- 《多线程下ThreadLocal使用场景实例》
- Pytest interface automation test framework | execute use cases through markup expressions
- 剑指 Offer 24. 反转链表
- Miccai2022 paper | evolutionary multi-objective architecture search framework: application in covid-19 3D CT classification
猜你喜欢

V00 - 年纪大了,想做啥就做啥吧

pytest接口自动化测试框架 | pytest常用插件

What is per title encoding?

Cohere博客:在生产环境中运行大型语言模型-推理框架概览
![[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)

Sword finger offer 25. merge two sorted linked lists

Acwing727. Diamond pattern

MICCAI2022论文 | 进化多目标架构搜索框架:在COVID-19三维CT分类中的应用

最新心形拼图小程序源码+带流量主

Big view +500 cases, software teams should improve R & D efficiency in this way!
随机推荐
浅谈低代码技术在物流运输平台中的搭建与管理
Server memory failure prediction can actually do this!
Pytest interface automated test framework | fixture call fixture
Subject 3 turns and turns
大佬们,cdc oracle 怎么设置从指定scn号开始读取,或是怎么设置只读全量的归档,不去读取快
Redis实现Single单点登入详解
Substance painter 2021 software installation package download and installation tutorial
3.1 create menu and game page - up
How to use data pipeline to realize test modernization
Colt DCS is serious about building a green data center!
初试YOLOv7
flink 写redis 比较慢,大家有啥思路优化吗?
空洞卷积详解(输入输出大小分析)
浅谈Web Vitals
[download attached] a powerful web automated vulnerability scanning tool - Xray
【万字长文】使用 LSM-Tree 思想基于.Net 6.0 C# 实现 KV 数据库(案例版)
线上一个隐匿 Bug 的复盘
GA-RPN:引导锚点的建议区域网络
Yuancosmos daily | yuancosmos social app "Party Island" product off the shelves; Guangzhou Nansha yuanuniverse industrial agglomeration zone was unveiled; The inter ministerial joint conference system
什么是Per-Title编码?