自动化测试知识点汇总(200421)
一、pytest + allure
1) 测试报告添加图片:
f_cart = open(img_name,'rb').read()
allure.attach(f_cart,"cart",allure.attachment_type.PNG)
一、pytest + allure
1) 测试报告添加图片:
f_cart = open(img_name,'rb').read()
allure.attach(f_cart,"cart",allure.attachment_type.PNG)