Loading

摘要: Ajax异步请求练习 阅读全文
posted @ 2020-07-10 15:18 Tester-Dolores 阅读(73) 评论(0) 推荐(0) 编辑
摘要: pytest-parallel 库 安装 pipenv install pytest-parallel 使用 --workers auto 多进程 缺陷 暂时不知道如何使fixture只执行一次 pytest-xdist 库 安装 pipenv install pytest-xdist 使用 -n 阅读全文
posted @ 2020-07-09 10:11 Tester-Dolores 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 安装black ,flake8 pipenv install black --pre pipenv install flake8 添加setup.cfg文件 [flake8] ignore = E203,E266,E501,W503 max-line-length = 88 max-complexi 阅读全文
posted @ 2020-07-09 08:49 Tester-Dolores 阅读(176) 评论(0) 推荐(0) 编辑
摘要: JavaScript学习笔记-ES5 基础知识 阅读全文
posted @ 2020-07-08 14:51 Tester-Dolores 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 安装 pip install pytest-assume 使用 方法 一: pytest.assume(1==2,'1!=2') 输出 1!=2 assert false 方法 二: from pytest import assume with assume: assert 1==2,'1!=2' 阅读全文
posted @ 2020-07-02 23:00 Tester-Dolores 阅读(146) 评论(0) 推荐(0) 编辑
摘要: source:https://www.jianshu.com/p/ebf3b46507e8 -s -v 输出更详细的报告 -vv 当对比的两个数据较大时,更详细的指出错误的地方 --html= 输出html格式测试报告 --junit-xml= 输出xml格式测试报告 --maxfail 明确指明用 阅读全文
posted @ 2020-07-02 00:23 Tester-Dolores 阅读(50) 评论(0) 推荐(0) 编辑
摘要: https://pypi.org/project/pretty-errors/ 安装 pipenv install pretty_errors 使用 https://www.cnblogs.com/wongbingming/p/12450565.html 阅读全文
posted @ 2020-07-02 00:18 Tester-Dolores 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 学习教程 https://cncert.github.io/requests-html-doc-cn/#/?id=%e5%ae%89%e8%a3%85 1.安装 pip install requests-html 2.使用 from requests_html import HTMLSession 阅读全文
posted @ 2020-07-02 00:14 Tester-Dolores 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 继承 super(类名,self).方法名() 重写request方法, 调用时url不是'http'开头则默认都是接口url+传入的url,设置自己的代理 调用该类:request = MySession(testdata,api_config) 1 from requests import Se 阅读全文
posted @ 2020-07-02 00:13 Tester-Dolores 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1.下载 https://www.jenkins.io/zh/download/ LTS版本 2.安装 3.创建管理员用户 admin ,123456 4.安装插件 Email Extension Plugin 并配置相关参数(http://localhost:8080/configure) Def 阅读全文
posted @ 2020-07-01 23:30 Tester-Dolores 阅读(86) 评论(0) 推荐(0) 编辑