上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 27 下一页
摘要: def assert_dict(expected, res): """ 自定义 用来对连个字典进行成员运算断言的方法 :param expected: 预期结果 :param res: 实际结果 :return: """ for key in expected: # 判断键是否存在,键对应的值也相等 阅读全文
posted @ 2020-08-09 14:18 mkay 阅读(219) 评论(0) 推荐(0) 编辑
摘要: jmeter+jenkins+ant基础版:https://www.cnblogs.com/erchun/p/13446446.html 加上git进阶版参考:https://www.cnblogs.com/qiaoyeye/p/7122356.html 重点1:修改build.xml文件 把git 阅读全文
posted @ 2020-08-08 16:20 mkay 阅读(564) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u013250071/article/details/81000777 每隔5分钟构建一次 H/5 * * * * 每两小时构建一次 H H/2 * * * 每小时构建一次 H * * * * 每天6点执行一次 0 18 * * * 阅读全文
posted @ 2020-08-07 15:26 mkay 阅读(323) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/28080975 安装两个插件:Groovy、Startup Trigger 配置方式如下: 新建一个job,该job专门用于Jenkins启动时执行的配置命令; 在Build Triggers模块下,勾选Build when job nod 阅读全文
posted @ 2020-08-07 15:18 mkay 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 实现结果: 1、Jenkins中能查看两份报告,一份带有具体参数和返回信息,一份展示通过率。报告名按时间展示 2、解决jenkins中html报告展示样式问题 3、定时构建 参考文章: https://testerhome.com/topics/13389 https://www.cnblogs.c 阅读全文
posted @ 2020-08-06 15:05 mkay 阅读(339) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/wzjwffg/p/9884042.html https://www.cnblogs.com/oc-bowen/p/9071514.html https://www.jianshu.com/p/699ed86028c2 阅读全文
posted @ 2020-08-06 11:13 mkay 阅读(106) 评论(0) 推荐(0) 编辑
摘要: allure中可以保存日志信息和截图 日志allure能够自动识别。截图需要自己在添加allure方法。 具体实现如下: import allure def save_scree_image(self): """ 对当前页面进行截图 :return: """ start_time = time.ti 阅读全文
posted @ 2020-08-05 10:19 mkay 阅读(2065) 评论(5) 推荐(1) 编辑
摘要: import yaml f=open("demo.yaml") #打开yaml文件 obj = yaml.load(f,yaml.FullLoader) # 读取并打印yaml文件信息 print(obj) f.close() 阅读全文
posted @ 2020-08-01 10:26 mkay 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 链接:https://blog.csdn.net/weixin_40547993/article/details/88928075 阅读全文
posted @ 2020-07-29 22:00 mkay 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/m0_37623792/article/details/105124205 阅读全文
posted @ 2020-07-28 17:21 mkay 阅读(347) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 27 下一页