摘要: 前置步骤 # 下面都是setup操作,针对单个用例灵活应用 import pytest # 调用方式一 @pytest.fixture def login(): print("输入账号,密码先登录") def test_s1(login): #将fixture名称作为测试用例函数的输入参数 prin 阅读全文
posted @ 2022-04-06 15:48 localhost; 阅读(98) 评论(0) 推荐(0) 编辑