会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
Dolores's Blog
一只小小的测试员
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2020年7月10日
Ajax tips(my_jquery_function.js)
摘要: Ajax异步请求练习
阅读全文
posted @ 2020-07-10 15:18 Tester-Dolores
阅读(86)
评论(0)
推荐(0)
2020年7月9日
Python 分布式执行测试用例
摘要: pytest-parallel 库 安装 pipenv install pytest-parallel 使用 --workers auto 多进程 缺陷 暂时不知道如何使fixture只执行一次 pytest-xdist 库 安装 pipenv install pytest-xdist 使用 -n
阅读全文
posted @ 2020-07-09 10:11 Tester-Dolores
阅读(215)
评论(0)
推荐(0)
Python black + flake8 自动化规范代码
摘要: 安装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
阅读(252)
评论(0)
推荐(0)
2020年7月8日
JavaScript学习笔记-ES5
摘要: JavaScript学习笔记-ES5 基础知识
阅读全文
posted @ 2020-07-08 14:51 Tester-Dolores
阅读(175)
评论(0)
推荐(0)
2020年7月2日
pytest-assume 测试用例某一断言失败继续执行后面的代码
摘要: 安装 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
阅读(170)
评论(0)
推荐(0)
pytest常用命令行
摘要: source:https://www.jianshu.com/p/ebf3b46507e8 -s -v 输出更详细的报告 -vv 当对比的两个数据较大时,更详细的指出错误的地方 --html= 输出html格式测试报告 --junit-xml= 输出xml格式测试报告 --maxfail 明确指明用
阅读全文
posted @ 2020-07-02 00:23 Tester-Dolores
阅读(55)
评论(0)
推荐(0)
[pretty_errors] Prettifies Python exception output to make it legible
摘要: 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
阅读(28)
评论(0)
推荐(0)
requests-html
摘要: 学习教程 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
阅读(66)
评论(0)
推荐(0)
Python 类 继承与重写
摘要: 继承 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
阅读(113)
评论(0)
推荐(0)
2020年7月1日
Jenkins 自动执行本地python自动化代码 并发送测试报告
摘要: 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
阅读(108)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告