摘要: """参数化test_测试用例的参数,只能传2种1、fixture fixture 'test_input' not found2、传参数化的变量"""import pytestprint("两个参数")@pytest.mark.parametrize("test_input, expected", 阅读全文
posted @ 2023-01-09 18:15 Jenny测试开发 阅读(47) 评论(0) 推荐(0) 编辑
摘要: str = random.sample(string.ascii_letters + string.digits, 20)payload = ''.join(str) + repr(int(time.time())) 阅读全文
posted @ 2023-01-09 15:35 Jenny测试开发 阅读(24) 评论(0) 推荐(0) 编辑