摘要: 阅读全文
posted @ 2021-07-16 18:45 萧拾二 阅读(223) 评论(0) 推荐(0)
摘要: 1.下载地址 Charles官网https://www.charlesproxy.com/download/ 2.激活: Registered Name: https://zhile.io License Key: 48891cf209c6d32bf4 3.安装证书 安装成功 4.抓包设置 下面就可 阅读全文
posted @ 2021-07-16 14:08 萧拾二 阅读(511) 评论(0) 推荐(0)
摘要: 这个是因为框架升级导致命令不适用 解决办法: 使用新的命令:httprunner startproject demo便可 阅读全文
posted @ 2021-04-26 22:38 萧拾二 阅读(1155) 评论(0) 推荐(0)
摘要: 一、pytest 1.pytest --fixture #显示内置的函数 2.pytest -h #帮助信息 3.pytest tests/test_mode.py::TestClass::test_function #只执行某一个测试用例 4.@pytest.mark.basic #basic是标 阅读全文
posted @ 2021-03-12 11:40 萧拾二 阅读(368) 评论(0) 推荐(0)
摘要: 1.删除掉之前的运行默认文件配置 2.setting中搜索pytest并将默认的test runner替换为pytest 阅读全文
posted @ 2021-03-11 13:59 萧拾二 阅读(189) 评论(0) 推荐(0)
摘要: 操作步骤: 一、如何修改hosts文件 windows系统的hosts文件的位置如下:C:\Windows\System32\drivers\etc\hosts mac/linux系统的hosts文件的位置如下:/etc/hosts 注意: 1.可能hosts文件找不到的情况,此时点击查看->选项- 阅读全文
posted @ 2021-03-11 10:02 萧拾二 阅读(147) 评论(0) 推荐(0)
摘要: selenium自动化 阅读全文
posted @ 2020-11-20 12:31 萧拾二 阅读(167) 评论(0) 推荐(0)