python接口自动化测试框架代码

上传者: 38362419 | 上传时间: 2021-07-02 11:00:59 | 文件大小: 36KB | 文件类型: ZIP
将测试用例写在excel表格里,通过程序实现自动化运行测试用例,将错误日志打印在log里。是根据一个开源项目改了一些代码,正确填好interface测试用例表格之后就能正常运行。

文件下载

资源详情

[{"title":"( 41 个子文件 36KB ) python接口自动化测试框架代码","children":[{"title":"python3_interface-master","children":[{"title":"log","children":[{"title":"log.txt <span style='color:#111;'> 34.71KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"dataconfig","children":[{"title":"request_data.json <span style='color:#111;'> 654B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"cookie.json <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"request_header.json <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 43.43KB </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 429B </span>","children":null,"spread":false}],"spread":true},{"title":"modules.xml <span style='color:#111;'> 266B </span>","children":null,"spread":false},{"title":"python3.iml <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"runmethod.py <span style='color:#111;'> 827B </span>","children":null,"spread":false},{"title":"operation_header.py <span style='color:#111;'> 667B </span>","children":null,"spread":false},{"title":"send_mail.py <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"print_log.py <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"operation_json.py <span style='color:#111;'> 1002B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"operation_excel.py <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"common_assert.py <span style='color:#111;'> 374B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"print_log.cpython-36.pyc <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"send_mail.cpython-36.pyc <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"common_assert.cpython-36.pyc <span style='color:#111;'> 580B </span>","children":null,"spread":false},{"title":"operation_excel.cpython-36.pyc <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false},{"title":"operation_json.cpython-36.pyc <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"runmethod.cpython-36.pyc <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"operation_header.cpython-36.pyc <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"data","children":[{"title":"get_data.py <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"dependent_data.py <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"data_config.py <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"data_config.cpython-36.pyc <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"dependent_data.cpython-36.pyc <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"get_data.cpython-36.pyc <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"run_test.py <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"case","children":[{"title":"interface.xls <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明