09 2018 档案

摘要:接口如何理解? 前后端的桥梁 接口测试和功能测试的区别?含金量不相同,接口测试是功能测试的一种,接口测试是模拟不经过前端的操作 常见的接口类型 get post put delete等 用到最多的 get post 接口是如何传递参数的 get 请求 是 ? 分割 加上 接口的参数 eg http: 阅读全文
posted @ 2018-09-28 15:38 studylady 阅读(142) 评论(0) 推荐(0) 编辑
摘要:创建被测试的文件 mathfunc.py 创建测试的文件 mathfunc_test.py 执行测试 创建 mathfunc_testsuit.py 并生成htlm 报告 备注 生成html报告 的方法 转自 https://www.cnblogs.com/lizhe860/p/9041693.ht 阅读全文
posted @ 2018-09-14 13:13 studylady 阅读(218) 评论(0) 推荐(0) 编辑
摘要:file="f:/20180904.txt" with open(file,"r") as f: content=f.readlines() # for x in range(len(content)): # if content[x]!="\n": # print(x, content[x]) file2="f:/2018090401.... 阅读全文
posted @ 2018-09-04 11:05 studylady 阅读(495) 评论(0) 推荐(0) 编辑
摘要:新建文件夹存放项目 D:\class_pyif\pyif08 打开 cmd 命令 输入python #安装 django pip install django (安装后进入 python->scripts 下 显示 django-admin.exe,django-admin.py 文件, 查看dja 阅读全文
posted @ 2018-09-04 08:50 studylady 阅读(147) 评论(0) 推荐(0) 编辑
摘要:#导入re 模块 import re import re str="a111b2222c3333d4444ee" a1=re.findall("[0-9]{3,}",str) print(a1) a2=re.findall("[a-zA-z-Z]{1,}",str) print(a2) [] 表示一个范围 """ import re str="abcafadgwerer" a=re.f... 阅读全文
posted @ 2018-09-03 14:36 studylady 阅读(171) 评论(0) 推荐(0) 编辑