文章目录
GitHub 分享
GitHub 框架源码:python-ui-auto-test
项目介绍
本人使用的是 python + selenium + unittest + PO + BeautifulReport + redis + mysql + ParamUnittest + 多线程 + 截图/日志 + 多浏览器支持 + RemoteWebDriver +文件读取 + 全参数化构建,即在 python + unittest + selenium 基础上加了不少东西。
为什么是 unittest 不是 pytest,因为 pytest 相对 unittest 来讲更容易些,而且二者虽然使用频率都很高,但是 unittest 似乎使用频率要更高一点,并且 unittest 还可做单元测试,于是就选择了 unittest 来搭建。
下面就会进行保姆级搭建讲解O(∩_∩)O
工具准备
-
建议使用 pycharm
-
本人 python 3.6 和 pip 工具