摘要:
背景:测试数据既要在fixture方法中使用,同时也在测试用例中使用 使用方法:在使用parametrize的时候添加"indirect=True"参数。pytest可以实现将参数传到fixture方法中,也可以在当前测试用例中使用。 原理:参数indirect=True时,pytest会把argn 阅读全文
posted @ 2022-12-29 20:58
Chaman囍
阅读(301)
评论(0)
推荐(1)
摘要:
一文搞懂fixture 各种骚操作: https://blog.csdn.net/weixin_46745811/article/details/122384070 好文好文! 阅读全文
posted @ 2022-12-29 19:36
Chaman囍
阅读(49)
评论(0)
推荐(0)

浙公网安备 33010602011771号