10 2018 档案

摘要:1、断言 断言处理: 异常抛出 4、夹心饼干 初始化操作 阅读全文
posted @ 2018-10-31 21:37 邪狂 阅读(145) 评论(0) 推荐(0)
摘要:接口测试的本质 就是测试类里面的函数、 单元测试的本质 测试函数 代码级别 单元测试框架 unittest 接口 pytest web 功能测试: 1、写用例 > TestCase 2、执行用例 > 1:TestSuite 存储用例 2:TestLoader > 找用例 ,加载用例,存到1的test 阅读全文
posted @ 2018-10-31 20:39 邪狂 阅读(132) 评论(0) 推荐(0)
摘要:1、get请求: 看源码 2、post #和 res.json(),响应正文的格式不同,# 如果是 html、xml、json -->可以是 text#只有json类型的返回值才支持json 3、cookies res.cookies 类字典形式,可以 res.cookies[key] 4、模拟浏览 阅读全文
posted @ 2018-10-28 14:57 邪狂 阅读(151) 评论(0) 推荐(0)
摘要:https://github.com/small99/AutoLink https://github.com/small99/autohub Navicat for Mysql 破解办法: https://jingyan.baidu.com/article/3c343ff7a3e0420d37796 阅读全文
posted @ 2018-10-26 10:01 邪狂 阅读(229) 评论(0) 推荐(0)
摘要:第二种方法: 阅读全文
posted @ 2018-10-25 20:45 邪狂 阅读(321) 评论(0) 推荐(0)
摘要:f = open('testJson.json','a',encoding="utf-8")for each in root1.getiterator("person"): tempDict = each.attrib for childNode in each.getchildren(): # 利 阅读全文
posted @ 2018-10-19 16:10 邪狂 阅读(6438) 评论(0) 推荐(0)
摘要:测试妹纸的经历:https://www.cnblogs.com/Mollylin/p/9729780.html#4086983 不错的博客:https://www.cnblogs.com/UncleYong/p/7012042.html 老张的博客:https://www.cnblogs.com/i 阅读全文
posted @ 2018-10-18 16:18 邪狂 阅读(213) 评论(1) 推荐(0)

柔柔弱弱