摘要: allure测试报告 官网:https://docs.qameta.io/allure/ 安装 1:安装jdk1.8+并配置环境变量; 2:安装scoop set-executionpolicy remotesigned -scope currentuser iex (new-object net. 阅读全文
posted @ 2021-08-30 15:07 寡淡的白开水 阅读(239) 评论(0) 推荐(0)
摘要: 封装思想 关键数据文件 配置数据:{project_name}.conf.yaml 存放配置信息,如环境、邮箱、数据库信息等 业务数据:{testcase_name}.api.yaml 存放接口信息,如:method、url、header、body等 用例数据:{testcase_name}.dat 阅读全文
posted @ 2021-08-30 14:46 寡淡的白开水 阅读(435) 评论(0) 推荐(0)
摘要: 企业微信api文档:https://work.weixin.qq.com/api/doc/90000/90135/91039 pytest文档:https://www.osgeo.cn/pytest/contents.html 使用pytest框架,代码分层如下 初步的test_case.py文件 阅读全文
posted @ 2021-08-30 13:50 寡淡的白开水 阅读(726) 评论(0) 推荐(0)
摘要: 文档: https://requests.readthedocs.io/en/master/ get请求demo import requests def test_requests(): r = requests.get('https://httpbin.testing-studio.com/get 阅读全文
posted @ 2021-08-30 13:21 寡淡的白开水 阅读(97) 评论(0) 推荐(0)