摘要:
1.unittest 浏览器的启动或关闭,只能基于测试方法或测试类; pytest可以通过conftest.py文件配置全局浏览器的启动或关闭 2.测试用例失败截图,pytest-html可以实现测试用例运行失败自动截图,只需要在conftest.py配置即可' unittest不支持!!! 3.测 阅读全文
摘要:
yagmail 阅读全文
摘要:
1.数据驱动(文件) 2.parameterized 支持pip安装,pip install parameterized 例子: import unittestfrom selenium import webdriverfrom parameterized import parameterizedf 阅读全文