当前位置:网站首页>Pytest interface automated testing framework | common running parameters of pytest
Pytest interface automated testing framework | common running parameters of pytest
2022-07-24 00:13: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
-s Print information
-v Show details
1) Run a test case with a string in its name
-k
2) Simplify the output
-q
3) If a test case fails , Exit the test
-x
4) Run test directory
pytest.main(["-s", "/test_dir"])
5) Specify specific class or method execution
pytest.main(["-s", "test_fail.py::test_hello"])
边栏推荐
猜你喜欢

力扣刷题训练之超简单

C语言之字符串函数一
![[microservice Architecture] distributed transactions](/img/3b/f35f060e146858e40ce8a5e0d1a154.png)
[microservice Architecture] distributed transactions

2022年7月23日——mapper文件说明

DGS first acquaintance
Qt | 设置部件大小 sizeHint、minimumSizeHint、sizePolicy、stretch factor

473-82(40、662、31、98、189)
C language explanation series -- understanding of functions (2) how to use functions to exchange the values of two integer variables

Esp8266 - at command + network transparent transmission

The differences between text and image drawing, data storage, localstorage, sessionstorage, and cookies
随机推荐
The differences between text and image drawing, data storage, localstorage, sessionstorage, and cookies
Scheme for importing XMIND use cases into tapd (with code)
【译】Go RPC 入门:Hello World
尝试新的方法
Idea cannot be switched to Chinese
学习的快乐很多
Nacos
Sum of submatrix
链表——707. 设计链表
As a programmer, is there anything you want to say to the newcomer?
Qt创建背景遮罩,弹出子窗口,父窗口背景变黑变暗
Multi table query_ External connection
[Android kotlin] property, getter and setter
Y75. Chapter IV Prometheus factory monitoring system and practice -- Prometheus alarm setting (VI)
Nacos
PushGateway+Prometheus+Grafana构建Flink实时监控
JS學習筆記-- 數組方法 底層實現方式
权重分析——CRITIC权重法
Pushgateway+prometheus+grafana build Flink real-time monitoring
加密技术应用