Loading

摘要: 1.unittest 浏览器的启动或关闭,只能基于测试方法或测试类; pytest可以通过conftest.py文件配置全局浏览器的启动或关闭 2.测试用例失败截图,pytest-html可以实现测试用例运行失败自动截图,只需要在conftest.py配置即可' unittest不支持!!! 3.测 阅读全文
posted @ 2019-11-12 02:59 Tester-Dolores 阅读(146) 评论(0) 推荐(0) 编辑
摘要: yagmail 阅读全文
posted @ 2019-11-12 01:43 Tester-Dolores 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1.数据驱动(文件) 2.parameterized 支持pip安装,pip install parameterized 例子: import unittestfrom selenium import webdriverfrom parameterized import parameterizedf 阅读全文
posted @ 2019-11-12 01:27 Tester-Dolores 阅读(44) 评论(0) 推荐(0) 编辑