上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: # -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: contants.py @ide: PyCharm Community Edition @time: 2018-12-21 13:55 @blog: https://www.cnblogs.com/gotesting/ ''' # 常量管理 imp... 阅读全文
posted @ 2018-12-21 15:42 JiaxyGogogo 阅读(636) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: read_excel.py @ide: PyCharm Community Edition @time: 2018-12-20 10:34 @blog: https://www.cnblogs.com/gotesting/ ''' impor... 阅读全文
posted @ 2018-12-21 15:40 JiaxyGogogo 阅读(681) 评论(0) 推荐(0) 编辑
摘要: 本次优化: 1. 各级分Package 2. 封装【ReadExcel】类 3. 封装【ReadConfig】类 4. 封装【GetLog】类 5. 引入ddt数据驱动测试,优化测试用例代码 工程如下: 代码分享: get_logger.py http_request.py read_config. 阅读全文
posted @ 2018-12-08 16:50 JiaxyGogogo 阅读(443) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*- ''' @project: jiaxy @author: Jimmy @file: study_logging.py @ide: PyCharm Community Edition @time: 2018-12-08 14:04 @blog: https://www.cnblogs.com/gotesting/ ''' ''' 日志:记录代码... 阅读全文
posted @ 2018-12-08 16:42 JiaxyGogogo 阅读(404) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*- ''' @project: jiaxy @author: Jimmy @file: study_ddt.py @ide: PyCharm Community Edition @time: 2018-12-06 14:48 @blog: https://www.cnblogs.com/gotesting/ ''' ''' study_d... 阅读全文
posted @ 2018-12-08 14:01 JiaxyGogogo 阅读(292) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*- ''' @project: jiaxy @author: Jimmy @file: read_config.py @ide: PyCharm Community Edition @time: 2018-12-06 13:53 @blog: https://www.cnblogs.com/gotesting/ ''' ''' 配置文件 ... 阅读全文
posted @ 2018-12-06 14:17 JiaxyGogogo 阅读(480) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*- ''' @project: jiaxy @author: Jimmy @file: do_excel.py @ide: PyCharm Community Edition @time: 2018-12-05 11:11 @blog: https://www.cnblogs.com/gotesting/ ''' from openpyxl... 阅读全文
posted @ 2018-12-05 11:51 JiaxyGogogo 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 测试报告: 阅读全文
posted @ 2018-12-05 11:05 JiaxyGogogo 阅读(371) 评论(0) 推荐(0) 编辑
摘要: work_20181203_httprequest.py: import requestsclass http_request: def http_get(url,params): res = requests.get(url,params) return res def http_post(url,params,cookies = None): ... 阅读全文
posted @ 2018-12-03 15:41 JiaxyGogogo 阅读(690) 评论(0) 推荐(0) 编辑
摘要: '''题目要求1:自己写一个工具类,完成数学的加减乘除以及平方积操作2:对每个方法写2个用例3:针对测试用例选用不同的方法去执行,然后生成测试报告''''''实现: 3个文件: work_20181127_mathtool.py : 定义计算方法work_20181127_testcase.py : 定义测试用例 work_20181127_testrun.py : 定义测试集,生成测试报告 ... 阅读全文
posted @ 2018-11-27 15:37 JiaxyGogogo 阅读(442) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页