当前位置:网站首页>pytest interface automation testing framework | pass in parameter values in the form of function return values
pytest interface automation testing framework | pass in parameter values in the form of function return values
2022-08-01 07:30:00 【COCOgsta】
Video source: Station B "Upload at risk!pytest interface automation testing framework (basic theory to project actual combat and secondary development) teaching video [software testing]"
Organize the teacher's course content and test notes while studying, and share it with everyone. The infringement will be deleted immediately. Thank you for your support!
Attach the summary post: pytest interface automation testing framework | Summary_COCOgsta's blog-CSDN blog
import pytestdef return_data():return [(1,2),(3,4)]# Use the function return value to pass in the parameter [email protected]("a,b", return_data())def test_01(a,b):print("\n" + "a=%d, b=%d" % (a,b))if __name__ == '__main__':pytest.main(['-s', 'test_return.py'])边栏推荐
猜你喜欢

MVVM project development (commodity management system 1)

rhcsa 第四天

22牛客多校1 C.Grab the Seat (几何 + 暴力)

2022杭电中超杯(1)个人题解

NIO编程

旋度(7)连接失败localhost8080;连接拒绝了

I have three degrees, and I have five faces. I was "confessed" by the interviewer, and I got an offer of 33*15.

Data Analysis 5

Srping bean in the life cycle

小程序全面屏手势配置案例
随机推荐
零代码网站开发利器:WordPress
The Bean's life cycle
Three aspects of Ali: How to solve the problem of MQ message loss, duplication and backlog?
第02章 MySQL的数据目录【1.MySQL架构篇】【MySQL高级】
pytest interface automation testing framework | single/multiple parameters
pytest interface automation testing framework | skip test classes
JVM: Runtime Data Area - PC Register (Program Counter)
pytest接口自动化测试框架 | parametrize中ids的用法
GO error handling
Srping bean in the life cycle
pytest接口自动化测试框架 | 跳过测试类
SaaS安全认证综合指南
七夕来袭——属于程序员的浪漫
Explosive 30,000 words, the hardest core丨Mysql knowledge system, complete collection of commands [recommended collection]
【一句话攻略】彻底理解JS中的回调(Callback)函数
centos 安装php7.4,搭建hyperf,转发RDS
Case practice --- Resnet classic convolutional neural network (Mindspore)
How to use Photoshop to composite star trail photos, post-processing method of night sky star trail photos
Classwork (7) - #598. remainder operation (mod)
mysql中添加字段的相关问题